Skip to content

Commit 850807a

Browse files
committed
configure kotlin for sample library
1 parent f448561 commit 850807a

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

gradle/libs.versions.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ gradle-android = ["gradle-android-sdk-common", "gradle-android-build", "gradle-a
1919

2020
[plugins]
2121
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
22+
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
2223
publisher = { id = "io.deepmedia.tools.deployer", version.ref = "publisher" }
2324
android-library = { id = "com.android.library", version.ref = "agp" }

tests/sample-dependency-pure/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins {
22
alias(libs.plugins.android.library)
3+
alias(libs.plugins.kotlin.android)
34
}
45

56
android {
@@ -8,6 +9,10 @@ android {
89
defaultConfig {
910
minSdk = 21
1011
}
12+
13+
kotlinOptions {
14+
jvmTarget = "1.8"
15+
}
1116
}
1217

1318
dependencies {

0 commit comments

Comments
 (0)