generated from KevinnZou/compose-multiplatform-library-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
26 lines (23 loc) · 792 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
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("com.vanniktech.maven.publish").apply(false)
id("org.jetbrains.dokka")
id("org.jlleitschuh.gradle.ktlint")
}
subprojects {
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")
}
}
tasks.register<Copy>("setUpGitHooks") {
group = "help"
from("$rootDir/.hooks")
into("$rootDir/.git/hooks")
}