-
Notifications
You must be signed in to change notification settings - Fork 55
/
build.gradle
31 lines (27 loc) · 910 Bytes
/
build.gradle
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
plugins {
id 'com.android.application' version '8.2.1' apply false
id 'org.jetbrains.kotlin.android' version '1.9.22' apply false
id 'com.android.library' version '8.2.1' apply false
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0-rc-1'
}
apply from: "${rootDir}/scripts/publish-root.gradle"
allprojects {
tasks.withType(Javadoc).tap {
configureEach {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
options.addBooleanOption('Xdoclint:none', true)
}
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile).tap {
configureEach {
options.compilerArgs << "-Xlint:deprecation"
options.compilerArgs << "-Xlint:unchecked"
}
}
}
}
tasks.register('clean', Delete) {
delete rootProject.buildDir
}