Update build.gradle

This commit is contained in:
Felipe Orozco 2020-07-22 10:05:01 -04:00 committed by GitHub
parent d3690b4c79
commit daf65397c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,6 +93,10 @@ pluginBundle {
}
}
publishPlugins.onlyIf {
project.version ==~ /[0-9]+(\.[0-9]+)+(-rc[0-9]+)?(-alpha[0-9]+)?/
}
tasks.withType(JavaCompile).configureEach {
options.errorprone.errorproneArgs += [
'-Xep:PreferSafeLoggableExceptions:OFF',