gradle-docker
gradle-docker copied to clipboard
Gradle 7.1 refused to run because of missing annotations on configuration
What happened?
* What went wrong:
Some problems were found with the configuration of task ':skeleton:app:dockerComposeUp' (type 'DockerComposeUp').
- In plugin 'com.palantir.docker' type 'com.palantir.gradle.docker.DockerComposeUp' property 'configuration' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.1/userguide/validation_problems.html#missing_annotation for more details about this problem.
- In plugin 'com.palantir.docker' type 'com.palantir.gradle.docker.DockerComposeUp' property 'description' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.1/userguide/validation_problems.html#missing_annotation for more details about this problem.
- In plugin 'com.palantir.docker' type 'com.palantir.gradle.docker.DockerComposeUp' property 'dockerComposeExtension' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.1/userguide/validation_problems.html#missing_annotation for more details about this problem.
What did you want to happen?
Should work as normal in Gradle 6.7.x and below
Solved by this commit on version 0.28.0 https://github.com/palantir/gradle-docker/commit/33ba755c880534387e16c97134a2e83a075fe408#diff-33eeaee8d6137e8794d205777eed7e1b34bee8297d972cb0fa5a2dfd4e2e3552R29