Skip to content
Merged
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,25 @@ subprojects {
group = "io.grpc"
version = "1.74.0-SNAPSHOT" // CURRENT_GRPC_VERSION

plugins.withId("com.android.base") {
Comment thread
ejona86 marked this conversation as resolved.
Outdated
android {
lint {
abortOnError true
if (rootProject.hasProperty('failOnWarnings') && rootProject.failOnWarnings.toBoolean()) {
warningsAsErrors true
}
}
}
tasks.withType(JavaCompile).configureEach {
it.options.compilerArgs += [
"-Xlint:all"
]
if (rootProject.hasProperty('failOnWarnings') && rootProject.failOnWarnings.toBoolean()) {
it.options.compilerArgs += ["-Werror"]
}
}
}

repositories {
maven { // The google mirror is less flaky than mavenCentral()
url "https://maven-central.storage-download.googleapis.com/maven2/"
Expand Down