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 7 - Missing Annotation DockerTask #160

Open
asasisekar opened this issue May 31, 2021 · 4 comments
Open

Gradle 7 - Missing Annotation DockerTask #160

asasisekar opened this issue May 31, 2021 · 4 comments

Comments

@asasisekar
Copy link

asasisekar commented May 31, 2021

The Gradle tasks provided by this plugin must have all their outputs & inputs annotated in order to be compatible with Gradle 7.

Type 'se.transmode.gradle.plugins.docker.DockerTask' property 'apiPassword' is missing an input or output annotation.
Type 'se.transmode.gradle.plugins.docker.DockerTask' property 'apiUsername' is missing an input or output annotation.
Type 'se.transmode.gradle.plugins.docker.DockerTask' property 'applicationName' is missing an input or output annotation.
Type 'se.transmode.gradle.plugins.docker.DockerTask' property 'baseImage' is missing an input or output annotation.```


@kxalex
Copy link

kxalex commented Sep 16, 2021

If you need Gradle 7 I had to make a version for myself, so feel free to try it.

https://plugins.gradle.org/plugin/com.github.kxalex/1.4.1
https://github.com/kxalex/gradle-docker

I'd appreciate feedback as I made changes for my project only, but glad to make proper support.

@dushshantha
Copy link

I am facing this issue after upgrading Gradle version. Any update on this? or a workaround would be appreciated

@lcardozo-tl
Copy link

@dushshantha I checked it but I noticed you set @Internal private Dockerfile dockerfile why? Now I see:
Could not find method dockerfile() for arguments [... Dockerfile] on task ':distDocker' of type se.transmode.gradle.plugins.docker.DockerTask.

@hiteshpatelsky
Copy link

I am facing this issue after upgrading Gradle 7.5 version. Any update on this? or a workaround would be appreciated, I have tried all version and made all changes but not work out, Please post here how to resolve this issue. Thanks

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