kopia lustrzana https://github.com/JOSM/MapWithAI
Fix issue when building with java 12, by removing the breaking check
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>pull/1/head
rodzic
3c3e44a96f
commit
4dbe59f7c3
|
@ -31,6 +31,10 @@ tasks.withType(JavaCompile).configureEach {
|
|||
check("PrivateConstructorForUtilityClass", CheckSeverity.WARN)
|
||||
check("UngroupedOverloads", CheckSeverity.WARN)
|
||||
check("WildcardImport", CheckSeverity.WARN)
|
||||
// TODO remove this on errorprone update
|
||||
if ((JavaVersion.current().majorVersion as Integer) > 11) {
|
||||
check('Finally', CheckSeverity.OFF)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue