-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle.kts
43 lines (38 loc) · 1.03 KB
/
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
34
35
36
37
38
39
40
41
42
43
plugins {
id("sign")
kotlin("plugin.compose")
id("io.github.hfhbd.mavencentral") version "0.0.15"
id("io.gitlab.arturbosch.detekt") version "1.23.7"
id("app.cash.licensee") version "1.12.0"
}
dependencies {
compileOnly(libs.compose.runtime)
api(libs.compose.html.core)
api(npm("bootstrap", "5.2.3"))
api(npm("@popperjs/core", "2.11.6"))
testImplementation(kotlin("test"))
testImplementation(libs.compose.runtime)
testImplementation(libs.compose.html.testUtils)
testImplementation(libs.coroutines.test)
}
licensee {
allow("Apache-2.0")
}
detekt {
source.from(fileTree(rootProject.rootDir) {
include("**/*.kt")
exclude("**/*.kts")
exclude("**/resources/**")
exclude("**/generated/**")
exclude("**/build/**")
})
parallel = true
autoCorrect = true
buildUponDefaultConfig = true
reports {
sarif.required.set(true)
}
}
dependencies {
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:${detekt.toolVersion}")
}