@@ -24,10 +24,9 @@ plugins {
2424 id " com.diffplug.spotless" version " 6.25.0"
2525
2626 // EISOP Checker Framework
27+ id " org.checkerframework" version " 0.6.48"
2728
28- id " org.checkerframework" version " 0.6.45"
29-
30- id(" org.sonarqube" ) version " 5.0.0.4638"
29+ id(" org.sonarqube" ) version " 6.0.1.5171"
3130}
3231
3332sonar {
@@ -91,25 +90,26 @@ subprojects {
9190 dependencies {
9291 implementation(" org.slf4j:slf4j-api:2.0.16" )
9392 implementation(" org.slf4j:slf4j-api:2.0.16" )
94- testImplementation(" ch.qos.logback:logback-classic:1.5.12 " )
93+ testImplementation(" ch.qos.logback:logback-classic:1.5.15 " )
9594
9695 // compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.12.0'
9796 // compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.12.0'
9897
9998 compileOnly(" org.jspecify:jspecify:1.0.0" )
10099 testCompileOnly(" org.jspecify:jspecify:1.0.0" )
101- def eisop_version = " 3.42.0-eisop4 "
100+ def eisop_version = " 3.42.0-eisop5 "
102101 compileOnly " io.github.eisop:checker-qual:$eisop_version "
103102 compileOnly " io.github.eisop:checker-util:$eisop_version "
104103 testCompileOnly " io.github.eisop:checker-qual:$eisop_version "
104+ checkerFramework " io.github.eisop:checker-qual:$eisop_version "
105105 checkerFramework " io.github.eisop:checker:$eisop_version "
106106
107- testImplementation(" ch.qos.logback:logback-classic:1.5.12 " )
108- testImplementation ' org.junit.jupiter:junit-jupiter-api:5.11.3 '
109- testImplementation ' org.junit.jupiter:junit-jupiter-params:5.11.3 '
107+ testImplementation(" ch.qos.logback:logback-classic:1.5.15 " )
108+ testImplementation ' org.junit.jupiter:junit-jupiter-api:5.11.4 '
109+ testImplementation ' org.junit.jupiter:junit-jupiter-params:5.11.4 '
110110 testImplementation project(' :key.util' )
111111
112- testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine:5.11.3 '
112+ testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine:5.11.4 '
113113 }
114114
115115 tasks. withType(JavaCompile ) {
@@ -352,10 +352,15 @@ subprojects {
352352 toggleOffOn()
353353
354354 removeUnusedImports()
355- /* At the moment, we have to ensure that version 4.22 of the eclipse formatter is run, since newer versions
356- * of the formatter crash in SymbolicExecutionTreeBuilder (seems to be a but in the formatter)!
355+
356+ /* When new options are added in new versions of the Eclipse formatter, the easiest way is to export the new
357+ * style file from the Eclipse GUI and then use the CodeStyleMerger tool in
358+ * "$rootDir/scripts/tools/checkstyle/CodeStyleMerger.java" to merge the old and the new style files,
359+ * i.e. "java CodeStyleMerger.java <oldStyleFile> <newStyleFile> keyCodeStyle.xml". The tool adds all
360+ * entries with keys that were not present in the old file and optionally overwrites the old entries. The
361+ * file is output with ordered keys, such that the file can easily be diffed using git.
357362 */
358- eclipse(" 4.22 " ). configFile(" $rootDir /scripts/tools/checkstyle/keyCodeStyle.xml" )
363+ eclipse(). configFile(" $rootDir /scripts/tools/checkstyle/keyCodeStyle.xml" )
359364 trimTrailingWhitespace() // not sure how to set this in the xml file ...
360365 // googleJavaFormat().aosp().reflowLongStrings()
361366
0 commit comments