This is an automated email from the ASF dual-hosted git repository.
lukeroy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 6b1c04811 Fix missing cz.alenkacz:gradle-scalafmt build error. (#5505)
6b1c04811 is described below
commit 6b1c048113b7d17688e18627c4fe71d4285ba349
Author: falkzoll <[email protected]>
AuthorDate: Thu Aug 22 11:55:44 2024 +0200
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.
---
build.gradle | 2 +-
settings.gradle | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/build.gradle b/build.gradle
index 89c5e2893..7eca2c46f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -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}"
}
}
diff --git a/settings.gradle b/settings.gradle
index 2dd08dfb2..d7e9f3612 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -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')
]