Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
14 Zeilen
411 B
Groovy
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")
|
||
|
}
|
||
|
}
|