Skip to content

Commit

Permalink
chore: bump com.github.autostyle to 4.0 to support Java 17
Browse files Browse the repository at this point in the history
"removeUnusedImports" is not supported with Java 17+ (it requires add-opens)
  • Loading branch information
vlsi committed Jan 9, 2024
1 parent 3661268 commit 8abf59d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

plugins {
`embedded-kotlin` apply false
id("com.github.autostyle") version "3.2"
id("com.github.autostyle") version "4.0"
}

allprojects {
Expand Down
2 changes: 1 addition & 1 deletion build-logic/verification/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ plugins {
dependencies {
api(projects.basics)
api(projects.buildParameters)
api("com.github.autostyle:com.github.autostyle.gradle.plugin:3.2")
api("com.github.autostyle:com.github.autostyle.gradle.plugin:4.0")
api("com.github.spotbugs:com.github.spotbugs.gradle.plugin:6.0.4")
api("com.github.vlsi.ide:com.github.vlsi.ide.gradle.plugin:1.90")
api("com.github.vlsi.gradle-extensions:com.github.vlsi.gradle-extensions.gradle.plugin:1.90")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ plugins.withId("java") {
java {
license()
importOrder("static ", "java.", "javax", "org", "net", "com", "")
removeUnusedImports()
indentWithSpaces(4)
}
}
Expand Down

0 comments on commit 8abf59d

Please sign in to comment.