Skip to content

Commit

Permalink
Apply Checker Framework Gradle plugin
Browse files Browse the repository at this point in the history
org.checkerframework.javacutil.UserError: The Checker Framework must be run under JDK 1.8.  You are using version 12,000000.
  • Loading branch information
tlinkowski committed Aug 17, 2019
1 parent 36d6b89 commit ac9439a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions subprojects/sample-java-usage/sample-java-usage.gradle.kts
Expand Up @@ -16,6 +16,14 @@
* limitations under the License.
*/

plugins {
id("org.checkerframework") version "0.3.22"
}

checkerFramework {
checkers = listOf("org.checkerframework.checker.nullness.NullnessChecker")
}

config {
publishing.enabled = false
}
Expand Down

0 comments on commit ac9439a

Please sign in to comment.