Skip to content

Commit 00f86cb

Browse files
committed
update compileSdk minSdk
1 parent 1d9c699 commit 00f86cb

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ buildscript {
55
kotlin_version = '1.6.21'
66
}
77
ext.versions = [
8-
'compileSdk': 30,
9-
'minSdk' : 21,
10-
'targetSdk' : 30,
8+
'compileSdk': 34,
9+
'minSdk' : 23,
10+
'targetSdk' : 34,
1111
]
1212
repositories {
1313
google()
14-
jcenter()
14+
mavenCentral()
1515
}
1616
dependencies {
1717
classpath 'com.android.tools.build:gradle:8.2.0'
@@ -22,10 +22,10 @@ buildscript {
2222
allprojects {
2323
repositories {
2424
google()
25-
jcenter()
25+
mavenCentral()
2626
}
2727
}
2828

29-
task clean(type: Delete) {
29+
tasks.register('clean', Delete) {
3030
delete rootProject.buildDir
3131
}

sdk-example-kt/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,16 @@ android {
2929
}
3030

3131
compileOptions {
32+
coreLibraryDesugaringEnabled true
33+
3234
sourceCompatibility = 1.8
3335
targetCompatibility = 1.8
3436
}
3537
}
3638

3739
dependencies {
40+
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
41+
3842
implementation project(":studyplus-android-sdk")
3943

4044
implementation "androidx.appcompat:appcompat:1.2.0"

sdk-example-kt/src/main/AndroidManifest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
android:roundIcon="@mipmap/ic_launcher_round"
99
android:supportsRtl="true"
1010
android:theme="@style/AppTheme">
11-
<activity android:name="jp.studyplus.android.sdk_example_kt.MainActivity">
11+
<activity
12+
android:name="jp.studyplus.android.sdk_example_kt.MainActivity"
13+
android:exported="true">
1214
<intent-filter>
1315
<action android:name="android.intent.action.MAIN" />
1416

0 commit comments

Comments
 (0)