openwhisk icon indicating copy to clipboard operation
openwhisk copied to clipboard

Bump gradle-scalafmt version

Open p-jonghyun opened this issue 1 year ago • 5 comments

gradle-scalafmt:1.5.0 was not reachable for about a week while any other tags were accessible. ( https://plugins.gradle.org/m2/gradle/plugin/cz/alenkacz/gradle-scalafmt/1.5.0)

We will not be able to do any gradlew command without any changes.

./gradlew clean --refresh-dependencies
Build using Scala 2.12

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'openwhisk'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find gradle.plugin.cz.alenkacz:gradle-scalafmt:1.5.0.
     Searched in the following locations:
       - https://jcenter.bintray.com/gradle/plugin/cz/alenkacz/gradle-scalafmt/1.5.0/gradle-scalafmt-1.5.0.pom
       - https://plugins.gradle.org/m2/gradle/plugin/cz/alenkacz/gradle-scalafmt/1.5.0/gradle-scalafmt-1.5.0.pom
     Required by:
         project :

p-jonghyun avatar Aug 21 '24 02:08 p-jonghyun

i am having the same issue

Suraez avatar Sep 08 '24 22:09 Suraez

I think this is addressed by this pull request.

style95 avatar Sep 09 '24 00:09 style95

i got another issue now, when i made the changes stated in the above pull request

* What went wrong:
A problem occurred configuring project ':core:standalone'.
> Could not resolve all artifacts for configuration ':core:standalone:classpath'.
   > Could not find org.ajoberstar.grgit:grgit-core:3.0.0.
     Searched in the following locations:
       - https://plugins.gradle.org/m2/org/ajoberstar/grgit/grgit-core/3.0.0/grgit-core-3.0.0.pom
     Required by:
         project :core:standalone > com.gorylenko.gradle-git-properties:com.gorylenko.gradle-git-properties.gradle.plugin:2.0.0 > gradle.plugin.com.gorylenko.gradle-git-properties:gradle-git-properties:2.0.0

Suraez avatar Sep 13 '24 23:09 Suraez

I am facing the same issue as well @Suraez. Have you found a solution for it?

psinha25 avatar Oct 06 '24 18:10 psinha25

Solution is here: https://github.com/apache/openwhisk/issues/5493 @Suraez

psinha25 avatar Oct 06 '24 19:10 psinha25