2020-09-15 18:57:41 +06:00
|
|
|
project.version = "$version"
|
|
|
|
project.group = "$group"
|
|
|
|
|
2024-08-27 18:57:59 +06:00
|
|
|
apply from: "$publish"
|
2020-09-27 20:25:42 +06:00
|
|
|
|
2020-09-15 18:57:41 +06:00
|
|
|
kotlin {
|
2021-11-09 14:03:51 +06:00
|
|
|
jvm {
|
|
|
|
compilations.main {
|
|
|
|
kotlinOptions {
|
2023-11-02 19:00:35 +06:00
|
|
|
jvmTarget = "17"
|
2021-11-09 14:03:51 +06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-09-15 18:57:41 +06:00
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('stdlib')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
commonTest {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('test-common')
|
|
|
|
implementation kotlin('test-annotations-common')
|
2023-08-12 22:37:35 +06:00
|
|
|
implementation libs.kt.coroutines.test
|
2020-09-15 18:57:41 +06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
jvmTest {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('test-junit')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-09-19 20:50:24 +06:00
|
|
|
|
|
|
|
java {
|
2023-11-02 19:00:35 +06:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
|
|
targetCompatibility = JavaVersion.VERSION_17
|
2021-09-19 20:50:24 +06:00
|
|
|
}
|