Skip to content

Commit

Permalink
Version and style updates (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
wmdietl authored Jan 7, 2025
1 parent 3836d1c commit 0c2417b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
// Code formatting; defines targets "spotlessApply" and "spotlessCheck".
// https://github.com/diffplug/spotless/tags ; see tags starting "gradle/"
// Only works on JDK 11+.
classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.25.0'
classpath 'com.diffplug.spotless:spotless-plugin-gradle:7.0.1'
}
}
}
Expand All @@ -20,7 +20,7 @@ plugins {
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.48'

// To show task list as a tree, run: ./gradlew <taskname> taskTree
id 'com.dorongold.task-tree' version '4.0.0'
Expand Down Expand Up @@ -65,7 +65,7 @@ if (isJava11orHigher) {

// define the steps to apply to those files
trimTrailingWhitespace()
indentWithSpaces(2)
leadingTabsToSpaces(2)
endWithNewline()
}
java {
Expand All @@ -76,7 +76,7 @@ if (isJava11orHigher) {
groovyGradle {
target '**/*.gradle'
greclipse() // which formatter Spotless should use to format .gradle files.
indentWithSpaces(2)
leadingTabsToSpaces(2)
trimTrailingWhitespace()
// endWithNewline() // Don't want to end empty files with a newline
}
Expand Down Expand Up @@ -124,6 +124,7 @@ if (true) {
dependencies {
compileOnly "io.github.eisop:checker-qual:${checkerFrameworkVersion}"
testCompileOnly "io.github.eisop:checker-qual:${checkerFrameworkVersion}"
checkerFramework "io.github.eisop:checker-qual:${checkerFrameworkVersion}"
checkerFramework "io.github.eisop:checker:${checkerFrameworkVersion}"
}

Expand Down

0 comments on commit 0c2417b

Please sign in to comment.