Skip to content

Commit 6b1c048

Browse files
authored
Fix missing cz.alenkacz:gradle-scalafmt build error. (#5505)
* 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.
1 parent 4e8562f commit 6b1c048

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ buildscript {
2020
jcenter()
2121
}
2222
dependencies {
23-
classpath "cz.alenkacz:gradle-scalafmt:${gradle.scalafmt.version}"
23+
classpath "gradle.plugin.cz.alenkacz:gradle-scalafmt:${gradle.scalafmt.version}"
2424
}
2525
}
2626

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ if (scalaVersion == '2.12') {
9595
}
9696

9797
gradle.ext.scalafmt = [
98-
version: '1.5.0',
98+
version: '1.5.1',
9999
config: new File(rootProject.projectDir, '.scalafmt.conf')
100100
]
101101

0 commit comments

Comments
 (0)