generated from JetBrains/compose-multiplatform-ios-android-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
29 lines (26 loc) · 886 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
plugins {
// this is necessary to avoid the plugins to be loaded multiple times
// in each subproject's classloader
kotlin("multiplatform").apply(false)
id("com.android.application").apply(false)
id("com.android.library").apply(false)
id("org.jetbrains.compose").apply(false)
id("org.jetbrains.dokka")
id("com.vanniktech.maven.publish")
id("org.jlleitschuh.gradle.ktlint")
}
/**
* This is a workaround for https://github.com/JetBrains/compose-multiplatform/issues/3428
*/
subprojects {
configurations.all {
resolutionStrategy {
force("org.jetbrains.kotlinx:atomicfu:0.21.0")
}
}
apply(plugin = "org.jlleitschuh.gradle.ktlint") // Version should be inherited from parent
// Optionally configure plugin
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
version.set("1.0.1")
}
}