Add checkerframework compilation checking (#109)

* Reorder nullability annotations again

* Add checker validation to API module

* Add checker validation to Common module

* Begin checker validation for Bukkit module

* It compiles!
This commit is contained in:
Josh (Vicarious) authored and GitHub committed 2020-10-24 01:02:57 -07:00
1 parent 3314a51df8
commit d9ab711adc
83 files changed
+1127 -717

No files matched your search

+8 -1
View File
@@ -1,6 +1,6 @@
plugins {
id 'com.palantir.git-version' version '0.12.3'
id 'org.checkerframework' version '0.5.9'
id 'org.checkerframework' version '0.5.11'
}
// Gets the git commit hash of the latest commit, used for version string
@@ -48,5 +48,12 @@ subprojects {
configProperties = [basedir: configRoot.getAbsolutePath()]
}
checkerFramework {
checkers = [
'org.checkerframework.checker.nullness.NullnessChecker'
]
}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}