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

Gradle 8.0 Support #618

Open
tomasAlabes opened this issue Feb 13, 2023 · 4 comments
Open

Gradle 8.0 Support #618

tomasAlabes opened this issue Feb 13, 2023 · 4 comments

Comments

@tomasAlabes
Copy link

What happened?

./gradlew docker

FAILURE: Build failed with an exception.

* Where:
Build file '/home/user/myApp/build.gradle.kts' line: 7

* What went wrong:
An exception occurred applying plugin request [id: 'com.palantir.docker', version: '0.34.0']
> Failed to apply plugin 'com.palantir.docker'.
   > Could not find matching constructor for: org.gradle.api.internal.artifacts.publish.ArchivePublishArtifact(org.gradle.api.tasks.bundling.Zip_Decorated)

* 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

What did you want to happen?

Normal task excution

@ikstewa
Copy link

ikstewa commented Feb 13, 2023

I tried to take a first pass at upgrading this to Gradle 8 but it's going to be quite an extensive upgrade. This plugin uses a handful of palantir convention plugins that will need to be upgraded as well.

Best approach is to see if we can remove the dependency on internal classes and support usage in other projects which are gradle 8.

@sanggggg
Copy link
Contributor

sanggggg commented Apr 4, 2023

upgrading plugin version to 0.35.0 will resolve this issue 😄

@natl-set
Copy link

So this is done?

@maguro
Copy link

maguro commented Oct 15, 2023

For Gradle 8.4, I am getting

An exception occurred applying plugin request [id: 'com.palantir.docker', version: '0.35.0']
> Failed to apply plugin 'com.palantir.docker'.
   > Could not find matching constructor for: 
org.gradle.api.internal.artifacts.publish.ArchivePublishArtifact(org.gradle.api.tasks.bundling.Zip_Decorated)

On my laptop:

$ gradle -version
executing gradlew instead of gradle

------------------------------------------------------------
Gradle 8.4
------------------------------------------------------------

Build time:   2023-10-04 20:52:13 UTC
Revision:     e9251e572c9bd1d01e503a0dfdf43aedaeecdc3f

Kotlin:       1.9.10
Groovy:       3.0.17
Ant:          Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM:          11.0.17 (Azul Systems, Inc. 11.0.17+8-LTS)
OS:           Mac OS X 14.0 x86_64

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

5 participants