MicroUtils/repos/common/build.gradle

37 lines
868 B
Groovy
Raw Normal View History

2020-09-20 02:17:11 +00:00
plugins {
id "org.jetbrains.kotlin.multiplatform"
id "org.jetbrains.kotlin.plugin.serialization"
2020-11-10 09:43:15 +00:00
id "com.android.library"
2020-09-20 02:17:11 +00:00
}
apply from: "$mppProjectWithSerializationPresetPath"
kotlin {
sourceSets {
commonMain {
dependencies {
2022-03-10 11:04:05 +00:00
api libs.kt.coroutines
2020-09-20 02:17:11 +00:00
api internalProject("micro_utils.pagination.common")
2020-09-21 00:23:13 +00:00
2022-03-10 11:04:05 +00:00
api libs.uuid
2020-09-20 02:17:11 +00:00
}
}
2020-11-10 09:43:15 +00:00
2020-11-26 12:01:12 +00:00
jvmMain {
dependencies {
api internalProject("micro_utils.common")
}
}
2020-11-10 09:43:15 +00:00
androidMain {
dependencies {
2022-03-10 11:04:05 +00:00
api libs.android.coreKtx
2020-11-10 09:43:15 +00:00
api internalProject("micro_utils.common")
api internalProject("micro_utils.coroutines")
}
dependsOn jvmMain
2020-11-10 09:43:15 +00:00
}
2020-09-20 02:17:11 +00:00
}
2021-04-20 19:52:17 +00:00
}
disableIncludingJvmCodeInAndroidPart()