-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle.kts
32 lines (29 loc) · 1.07 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
dependencies {
classpath (libs.gradle)
classpath (libs.kotlin.gradle.plugin)
classpath (libs.hilt.android.gradle.plugin)
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
plugins {
alias (libs.plugins.protobuf) apply false
alias (libs.plugins.ksp) apply false
alias (libs.plugins.kotlin.serialization) apply false
alias (libs.plugins.hilt) apply false
alias (libs.plugins.kotlin.jvm) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.android) apply false
}
allprojects {
tasks.withType<JavaCompile>().configureEach {
options.compilerArgs.add("-Xlint:unchecked")
options.compilerArgs.add("-Xlint:deprecation")
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.layout.buildDirectory)
}