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

generateFeatures fails on Gradle 7 #682

Closed
kathrynkodama opened this issue Dec 16, 2021 · 0 comments · Fixed by #681
Closed

generateFeatures fails on Gradle 7 #682

kathrynkodama opened this issue Dec 16, 2021 · 0 comments · Fixed by #681

Comments

@kathrynkodama
Copy link
Contributor

Running the generateFeatures task on Gradle 7.x, after applying this fix #681 the following error occurs:

> Task :generateFeatures FAILED
Parsing the server file /Users/kathrynkodama/devex/featureGeneration/snapshot-testing/demo-devmode/src/main/liberty/config/server.xml for features and includes.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':generateFeatures'.
> Could not get unknown property 'compile' for configuration container of type org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.

* 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

BUILD FAILED in 482ms

Gradle 7.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant