File tree 3 files changed +10
-9
lines changed
3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
[versions ]
2
- agp = " 8.0 .2"
3
- kotlin = " 1.9 .0"
2
+ agp = " 8.2 .2"
3
+ kotlin = " 2.0 .0"
4
4
nexus-publish = " 2.0.0-rc-1"
5
5
android-minSdk = " 24"
6
- android-compileSdk = " 33 "
6
+ android-compileSdk = " 34 "
7
7
8
8
[libraries ]
9
9
kotlin-test = { module = " org.jetbrains.kotlin:kotlin-test" , version.ref = " kotlin" }
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.1 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.7 -bin.zip
4
4
networkTimeout =10000
5
5
zipStoreBase =GRADLE_USER_HOME
6
6
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change
1
+ import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
2
+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
3
+
1
4
plugins {
2
5
alias(libs.plugins.kotlinMultiplatform)
3
6
alias(libs.plugins.androidLibrary)
4
7
id(" module.publication" )
5
8
}
6
9
7
10
kotlin {
8
- targetHierarchy.default()
9
11
jvm()
10
12
androidTarget {
11
13
publishLibraryVariants(" release" )
12
- compilations.all {
13
- kotlinOptions {
14
- jvmTarget = " 1.8"
15
- }
14
+ @OptIn(ExperimentalKotlinGradlePluginApi ::class )
15
+ compilerOptions {
16
+ jvmTarget.set(JvmTarget .JVM_1_8 )
16
17
}
17
18
}
18
19
iosX64()
You can’t perform that action at this time.
0 commit comments