mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 22:15:45 +00:00
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:
1 parent
3314a51df8
commit
d9ab711adc
83 files changed
+1127
-717
No files matched your search
+8
-1
@@ -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'
|
||||
}
|
||||
Reference in new issue
Block a user