Skip to content

Commit

Permalink
Fix missing cz.alenkacz:gradle-scalafmt build error. (#5505)
Browse files Browse the repository at this point in the history
* Move to gradle-scalafmt:1.5.1 to fix build.
- Version 1.5.0 seems to have a broken pom file (see https://plugins.gradle.org/m2/gradle/plugin/cz/alenkacz/gradle-scalafmt/1.5.0/gradle-scalafmt-1.5.0.pom). Therefore the loading does not work. The 1.5.1 (https://plugins.gradle.org/m2/gradle/plugin/cz/alenkacz/gradle-scalafmt/1.5.1/gradle-scalafmt-1.5.1.pom) looks ok and can be loaded.
  • Loading branch information
falkzoll authored Aug 22, 2024
1 parent 4e8562f commit 6b1c048
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ buildscript {
jcenter()
}
dependencies {
classpath "cz.alenkacz:gradle-scalafmt:${gradle.scalafmt.version}"
classpath "gradle.plugin.cz.alenkacz:gradle-scalafmt:${gradle.scalafmt.version}"
}
}

Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ if (scalaVersion == '2.12') {
}

gradle.ext.scalafmt = [
version: '1.5.0',
version: '1.5.1',
config: new File(rootProject.projectDir, '.scalafmt.conf')
]

Expand Down

0 comments on commit 6b1c048

Please sign in to comment.