Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With the develop branch, "$ gradle build" failed with recent version of Gradle #6

Open
kazurayam opened this issue Feb 20, 2024 · 3 comments

Comments

@kazurayam
Copy link
Owner

kazurayam commented Feb 20, 2024

$ git clone git@github.com:kazurayam/junit4ks.git
Cloning into 'junit4ks'...
Enter passphrase for key '/Users/kazuakiurayama/.ssh/id_rsa': 
remote: Enumerating objects: 1141, done.
remote: Counting objects: 100% (209/209), done.
remote: Compressing objects: 100% (120/120), done.
remote: Total 1141 (delta 64), reused 209 (delta 64), pack-reused 932
Receiving objects: 100% (1141/1141), 3.71 MiB | 1.08 MiB/s, done.
Resolving deltas: 100% (422/422), done.
:~/katalon-workspace
$ cd junit4ks
:~/katalon-workspace/junit4ks (develop)
$ gradle build

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/kazuakiurayama/katalon-workspace/junit4ks/build.gradle' line: 4

* What went wrong:
An exception occurred applying plugin request [id: 'com.github.johnrengelman.shadow', version: '4.0.4']
> Failed to apply plugin class 'com.github.jengelman.gradle.plugins.shadow.ShadowJavaPlugin'.
   > You can't map a property that does not exist: propertyName=classifier

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 989ms
:~/katalon-workspace/junit4ks (develop)
$ groovy --version
Groovy Version: 2.4.21 JVM: 21.0.1 Vendor: Eclipse Adoptium OS: Mac OS X
:~/katalon-workspace/junit4ks (develop)
$ gradle --version

------------------------------------------------------------
Gradle 8.5
------------------------------------------------------------

Build time:   2023-11-29 14:08:57 UTC
Revision:     28aca86a7180baa17117e0e5ba01d8ea9feca598

Kotlin:       1.9.20
Groovy:       3.0.17
Ant:          Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM:          21.0.1 (Eclipse Adoptium 21.0.1+12-LTS)
OS:           Mac OS X 14.3.1 x86_64


@kazurayam
Copy link
Owner Author

kazurayam commented Feb 20, 2024

I updated the Groovy on my machine to 3.0.17

$ sdk install groovy 3.0.17

Downloading: groovy 3.0.17

In progress...

######################################################################### 100.0%

Installing: groovy 3.0.17
Done installing!

Do you want groovy 3.0.17 to be set as default? (Y/n): Y

Setting groovy 3.0.17 as default.
:~/katalon-workspace/junit4ks (develop)
$ groovy --version
Groovy Version: 3.0.17 JVM: 21.0.1 Vendor: Eclipse Adoptium OS: Mac OS X
:~/katalon-workspace/junit4ks (develop)

Of course, no change. $ gradle build still failed. Groovy version has nothing to do with the build failure

@kazurayam
Copy link
Owner Author

done at v1.6.2

@kazurayam
Copy link
Owner Author

a lot of merge conflicts for master <= develop occured

@kazurayam kazurayam reopened this Feb 21, 2024
kazurayam added a commit that referenced this issue Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant