forked from pocstyle2023/analyticskmp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
33 lines (29 loc) · 906 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
plugins {
kotlin("multiplatform") version libs.versions.kotlin.get() apply false
kotlin("plugin.serialization") version libs.versions.kotlin.get() apply false
id("com.android.library") version libs.versions.android.gradle.plugin.get() apply false
id("co.touchlab.kmmbridge") version libs.versions.kmmBridge.get() apply false
id("app.cash.sqldelight") version libs.versions.sqlDelight.get() apply false
id("co.touchlab.skie") version libs.versions.skie.get() apply false
}
allprojects {
repositories {
google()
mavenCentral()
}
}
val autoVersion = project.property(
if (project.hasProperty("AUTO_VERSION")) {
"AUTO_VERSION"
} else {
"LIBRARY_VERSION"
}
) as String
subprojects {
val GROUP: String by project
group = GROUP
version = autoVersion
}
tasks.register<Delete>("clean") {
delete(rootProject.buildDir)
}