mirror of
https://github.com/InsanusMokrassar/PlaguPoster.git
synced 2024-11-16 13:03:47 +00:00
40 lines
845 B
Groovy
40 lines
845 B
Groovy
|
project.version = "$version"
|
||
|
project.group = "$group"
|
||
|
|
||
|
// apply from: "$publishGradlePath"
|
||
|
|
||
|
kotlin {
|
||
|
jvm {
|
||
|
compilations.main {
|
||
|
kotlinOptions {
|
||
|
jvmTarget = "1.8"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
sourceSets {
|
||
|
commonMain {
|
||
|
dependencies {
|
||
|
implementation libs.kotlin
|
||
|
api libs.kotlin.serialization
|
||
|
}
|
||
|
}
|
||
|
commonTest {
|
||
|
dependencies {
|
||
|
implementation libs.kotlin.test.common
|
||
|
implementation libs.kotlin.test.annotations.common
|
||
|
}
|
||
|
}
|
||
|
jvmTest {
|
||
|
dependencies {
|
||
|
implementation libs.kotlin.test.junit
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
java {
|
||
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||
|
}
|