2021-06-18 06:23:57 +00:00
|
|
|
project.version = "$version"
|
2021-02-21 19:30:47 +00:00
|
|
|
project.group = "$group"
|
|
|
|
|
2021-02-22 15:01:08 +00:00
|
|
|
apply from: "$publishGradlePath"
|
2021-02-21 19:30:47 +00:00
|
|
|
|
|
|
|
kotlin {
|
|
|
|
jvm {
|
|
|
|
compilations.main.kotlinOptions.useIR = true
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('stdlib')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
commonTest {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('test-common')
|
|
|
|
implementation kotlin('test-annotations-common')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
jvmTest {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('test-junit')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-09-23 07:19:14 +00:00
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain {
|
|
|
|
languageVersion = JavaLanguageVersion.of(8)
|
|
|
|
}
|
|
|
|
}
|