mirror of
https://github.com/InsanusMokrassar/KotlinMultiplatformProjectTemplate.git
synced 2024-11-25 03:28:51 +00:00
40 lines
954 B
Groovy
40 lines
954 B
Groovy
project.version = "$version"
|
|
project.group = "$group"
|
|
|
|
// apply from: "$publishGradlePath"
|
|
|
|
kotlin {
|
|
androidTarget {
|
|
publishAllLibraryVariants()
|
|
compilations.all {
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
implementation libs.kotlin
|
|
api libs.kotlin.serialization
|
|
}
|
|
}
|
|
commonTest {
|
|
dependencies {
|
|
implementation libs.kotlin.test.common
|
|
implementation libs.kotlin.test.annotations.common
|
|
}
|
|
}
|
|
androidUnitTest {
|
|
dependencies {
|
|
implementation libs.kotlin.test.junit
|
|
implementation libs.android.test.junit
|
|
implementation libs.android.test.espresso.core
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
apply from: "$defaultAndroidSettingsPresetPath"
|