Skip to content

Commit fea7118

Browse files
committed
build: update dependencies and bump sdk to 33
1 parent 27f3933 commit fea7118

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlin_version = '1.7.10'
2+
ext.kotlin_version = '1.7.20'
33
repositories {
44
google()
55
mavenCentral()

library/build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'kotlin-android'
44
group = 'com.github.tobiasschuerg'
55

66
android {
7-
compileSdkVersion 28
7+
compileSdkVersion 33
88

99
defaultConfig {
1010
minSdkVersion 16
@@ -24,8 +24,8 @@ android {
2424
}
2525

2626
dependencies {
27-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
28-
implementation 'androidx.appcompat:appcompat:1.1.0'
27+
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
28+
implementation 'androidx.appcompat:appcompat:1.5.1'
2929

30-
testImplementation 'junit:junit:4.13'
30+
testImplementation 'junit:junit:4.13.2'
3131
}

library/src/main/java/com/tobiasschuerg/prefixsuffix/PrefixSuffixEditText.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class PrefixSuffixEditText constructor(
7070
typedArray.recycle()
7171
}
7272

73-
override fun setTypeface(typeface: Typeface) {
73+
override fun setTypeface(typeface: Typeface?) {
7474
super.setTypeface(typeface)
7575

7676
if (isInitialized) {

sample/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
22
apply plugin: 'kotlin-android'
33

44
android {
5-
compileSdkVersion 29
5+
compileSdkVersion 33
66
defaultConfig {
77
applicationId "com.tobiasschuerg.prefixpostfix"
88
minSdkVersion 17
@@ -26,6 +26,6 @@ android {
2626
dependencies {
2727
implementation project(':library')
2828

29-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
30-
implementation 'androidx.appcompat:appcompat:1.1.0'
29+
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
30+
implementation 'androidx.appcompat:appcompat:1.5.1'
3131
}

0 commit comments

Comments
 (0)