-
Notifications
You must be signed in to change notification settings - Fork 362
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
Plugin docker-remote-api is not compatible with Gradle 8.0 #1165
Comments
I can't reproduce your issue with Gradle 8.0. I used the following build script:
Please provide a project on GitHub that reproduces your issue. Looking at the stack trace, it seems your issue seems to come from a different plugin:
|
Indeed, that's strange. |
I created a project similar to yours, using version catalog file and Gradle 8.0, with only your plugin and it works perfectly. Sorry for the inconvenience, your plugin is really useful and saves us a lot of time creating Docker images for our products. Thanks for your work. |
As you can see here, Nebula is using your plugin in its own |
Yeah, that doesn't make sense. I am pretty sure https://github.com/nebula-plugins/gradle-ospackage-plugin/blob/main/src/main/groovy/com/netflix/gradle/plugins/docker/OsPackageDockerBasePlugin.groovy#L43 is the issue. |
Expected Behavior
As a user of
docker-remote-api
plugin,I want to have a plugin which runs with latest version 8.0 of gradle wrapper
So that I can build Docker images of my application
Current Behavior
Build fails with the following error:
Full stacktrace is attached to the issue
With version 7.6 of Gradle, there is no issue. It seems to be related to the deprecation of some convetion mapping as stated in the error message.
Context
Simple declaration of the plugin, via version catalog file
libs.versions.toml
:Steps to Reproduce (for bugs)
Just declare the plugin as above in build file with Kotlin DSL. Any call to a Gradle task make it fail.
Your Environment
Gradle 8.0
Openjdk version "17.0.5"
The text was updated successfully, but these errors were encountered: