3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 13:30:17 +01:00
Velocity/gradle/errorprone.gradle

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")
}
}