3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 05:20:14 +01:00
Velocity/gradle/errorprone.gradle
2021-05-13 04:25:06 -04:00

14 Zeilen
411 B
Groovy

dependencies {
annotationProcessor("com.uber.nullaway:nullaway:0.9.1")
testAnnotationProcessor("com.uber.nullaway:nullaway:0.9.1")
errorprone("com.google.errorprone:error_prone_core:2.6.0")
}
tasks.withType(JavaCompile).configureEach {
options.errorprone {
allErrorsAsWarnings = true
error("NullAway")
option("NullAway:AnnotatedPackages", "com.velocitypowered")
}
}