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-runtime-java.git


The following commit(s) were added to refs/heads/master by this push:
     new 4ec1fd3  Update gradle-scalafmt to 1.5.1 to fix build. (#165)
4ec1fd3 is described below

commit 4ec1fd3625bb76822e6c0b077e5772fddda7106f
Author: falkzoll <[email protected]>
AuthorDate: Thu Aug 22 15:04:15 2024 +0200

    Update gradle-scalafmt to 1.5.1 to fix build. (#165)
    
    - The 'cz.alenkacz:gradle-scalafmt' module could not be found anymore. Had 
to change the name to 'gradle.plugin.cz.alenkacz:gradle-scalafmt' and update 
the version to 1.5.1 since version 1.5.0 seems to have an invalid pom file (see 
https://plugins.gradle.org/m2/gradle/plugin/cz/alenkacz/gradle-scalafmt/1.5.0/gradle-scalafmt-1.5.0.pom)
 and refused to function. The version 1.5.1 seem to work fine (see 
https://plugins.gradle.org/m2/gradle/plugin/cz/alenkacz/gradle-scalafmt/1.5.1/gradle-s
 [...]
---
 build.gradle    | 3 ++-
 settings.gradle | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/build.gradle b/build.gradle
index a65389a..3a67527 100644
--- a/build.gradle
+++ b/build.gradle
@@ -19,9 +19,10 @@ buildscript {
     repositories {
         jcenter()
         mavenCentral()
+        gradlePluginPortal()
     }
     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 8bfaf8e..54296ef 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -34,7 +34,7 @@ gradle.ext.scala = [
 ]
 
 gradle.ext.scalafmt = [
-    version: '1.5.0',
+    version: '1.5.1',
     config: new File(rootProject.projectDir, '.scalafmt.conf')
 ]
 

Reply via email to