-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
28 lines (27 loc) · 929 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
plugins {
alias(libs.plugins.kotlin) apply false
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.parcelize) apply false
alias(libs.plugins.kotlin.compose.compiler) apply false
alias(libs.plugins.hilt) apply false
alias(libs.plugins.ksp) apply false
id("claymore-dependency") apply false
}
allprojects {
pluginManager.withPlugin(rootProject.libs.plugins.kotlin.asProvider().get().pluginId) {
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().all {
compilerOptions {
allWarningsAsErrors = true
}
}
}
pluginManager.withPlugin(rootProject.libs.plugins.kotlin.android.get().pluginId) {
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().all {
compilerOptions {
allWarningsAsErrors = true
}
}
}
}