-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
36 lines (32 loc) · 1.13 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
plugins {
alias(isdlibs.plugins.gradleVersions)
alias(isdlibs.plugins.kotlin.android) apply false
alias(isdlibs.plugins.ktlint) apply false
alias(isdlibs.plugins.ksp) apply false
alias(isdlibs.plugins.kmpNativeCoroutines) apply false
alias(isdlibs.plugins.kotlinMultiplatform) apply false
alias(isdlibs.plugins.kotlin.serialization) apply false
alias(isdlibs.plugins.sqlDelight) apply false
alias(isdlibs.plugins.androidApplication) apply false
alias(isdlibs.plugins.cocoapods) apply false
alias(isdlibs.plugins.androidLibrary) apply false
alias(isdlibs.plugins.secrets.gradle) apply false
}
subprojects {
apply(plugin = rootProject.isdlibs.plugins.ktlint.get().pluginId)
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
enableExperimentalRules.set(true)
verbose.set(true)
filter {
exclude { it.file.path.contains("build/") }
}
}
afterEvaluate {
tasks.named("check").configure {
dependsOn(tasks.getByName("ktlintCheck"))
}
}
}
tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}