2020-11-09 16:49:06 +00:00
|
|
|
project.version = "$version"
|
|
|
|
project.group = "$group"
|
|
|
|
|
2024-08-27 12:57:59 +00:00
|
|
|
apply from: "$publish"
|
2020-11-09 16:49:06 +00:00
|
|
|
|
|
|
|
kotlin {
|
2023-09-22 08:14:23 +00:00
|
|
|
androidTarget {
|
2020-11-11 10:06:44 +00:00
|
|
|
publishAllLibraryVariants()
|
2023-11-02 13:00:35 +00:00
|
|
|
compilations.all {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "17"
|
|
|
|
}
|
|
|
|
}
|
2020-11-11 10:06:44 +00:00
|
|
|
}
|
2020-11-09 16:49:06 +00:00
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('stdlib')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
commonTest {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('test-common')
|
|
|
|
implementation kotlin('test-annotations-common')
|
2023-08-12 16:37:35 +00:00
|
|
|
implementation libs.kt.coroutines.test
|
2020-11-09 16:49:06 +00:00
|
|
|
}
|
|
|
|
}
|
2020-11-10 08:32:50 +00:00
|
|
|
}
|
|
|
|
}
|
2020-11-09 16:49:06 +00:00
|
|
|
|
2024-08-27 12:57:59 +00:00
|
|
|
apply from: "$defaultAndroidSettings"
|
2021-09-19 14:50:24 +00:00
|
|
|
|
|
|
|
java {
|
2023-11-02 13:00:35 +00:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
|
|
targetCompatibility = JavaVersion.VERSION_17
|
2021-09-19 14:50:24 +00:00
|
|
|
}
|