Skip to content

Commit

Permalink
Update CF gradle plugin to 0.6.46 (#1000)
Browse files Browse the repository at this point in the history
  • Loading branch information
wmdietl authored Nov 22, 2024
1 parent a029379 commit 297bfa7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
20 changes: 15 additions & 5 deletions docs/examples/errorprone/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
id 'java'
id 'net.ltgt.errorprone' version '4.1.0'
// Checker Framework pluggable type-checking
id 'org.checkerframework' version '0.6.45'
id 'org.checkerframework' version '0.6.46'
}

ext {
Expand All @@ -16,10 +16,19 @@ ext {
}

apply plugin: 'org.checkerframework'
dependencies {
compileOnly "io.github.eisop:checker-qual:${versions.eisopVersion}"
testCompileOnly "io.github.eisop:checker-qual:${versions.eisopVersion}"
checkerFramework "io.github.eisop:checker:${versions.eisopVersion}"
if (true) {
def cfHome = "${projectDir}/../../.."
dependencies {
compileOnly files(cfHome + '/checker/dist/checker-qual.jar')
testCompileOnly files(cfHome + '/checker/dist/checker-qual.jar')
checkerFramework files(cfHome + '/checker/dist/checker.jar')
}
} else {
dependencies {
compileOnly "io.github.eisop:checker-qual:${versions.eisopVersion}"
testCompileOnly "io.github.eisop:checker-qual:${versions.eisopVersion}"
checkerFramework "io.github.eisop:checker:${versions.eisopVersion}"
}
}

dependencies {
Expand All @@ -41,6 +50,7 @@ checkerFramework {
checkers = [
'org.checkerframework.checker.nullness.NullnessChecker',
]
extraJavacArgs = ['-Aversion']
}

compileJava {
Expand Down
1 change: 1 addition & 0 deletions docs/examples/lombok/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ checkerFramework {
checkers = [
'org.checkerframework.checker.nullness.NullnessChecker',
]
extraJavacArgs = ['-Aversion']
}

0 comments on commit 297bfa7

Please sign in to comment.