KotlinMultiplatformProjectT.../mppAndroidProject.gradle

35 lines
836 B
Groovy
Raw Normal View History

2021-03-02 09:28:13 +00:00
project.version = "$version"
2020-12-02 15:50:52 +00:00
project.group = "$group"
// apply from: "$publishGradlePath"
kotlin {
android {
publishAllLibraryVariants()
}
sourceSets {
commonMain {
dependencies {
2022-01-29 15:47:34 +00:00
implementation libs.kotlin
api libs.kotlin.serialization
2020-12-02 15:50:52 +00:00
}
}
commonTest {
dependencies {
2022-01-29 15:47:34 +00:00
implementation libs.kotlin.test.common
implementation libs.kotlin.test.annotations.common
}
}
2023-08-24 03:57:37 +00:00
androidUnitTest {
2022-01-29 15:47:34 +00:00
dependencies {
implementation libs.kotlin.test.junit
implementation libs.android.test.junit
implementation libs.android.test.espresso.core
2020-12-02 15:50:52 +00:00
}
}
}
}
apply from: "$defaultAndroidSettingsPresetPath"