-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
33 lines (29 loc) · 994 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 {
// 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")
}
project.configurations.configureEach {
resolutionStrategy {
force("androidx.emoji2:emoji2-views-helper:1.3.0")
force("androidx.emoji2:emoji2:1.3.0")
}
}
}
tasks.register<Copy>("setUpGitHooks") {
group = "help"
from("$rootDir/.hooks")
into("$rootDir/.git/hooks")
}