You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* What went wrong:
An exception occurred applying plugin request [id: 'com.github.johnrengelman.shadow', version: '7.0.0']
> Failed to apply plugin 'com.github.johnrengelman.shadow'.
> Project#afterEvaluate(Closure) on project ':rdf-delta-server' cannot be executed in the current context.
I see that Project#afterEvaluate is called specifically to exclude the Gradle API from being added to Shaded Jars, but perhaps it would be better to use this project's own filtering API. I don't mind doing the work here. I'm opening this ticket to get feedback on my thinking from the project owner.
The text was updated successfully, but these errors were encountered:
Shadow Version
7.0.0
Gradle Version
7.0.2
Expected Behavior
Gradle evaluates its configuration correctly.
Actual Behavior
Gradle fails to configure a project with this plugin because of the call to
Project#afterEvaluate
.Gradle Build Script(s)
To recreate my issue, clone https://github.com/TopQuadrant-DevOps/rdf-delta and change the contents of ./rdf-delta-dist/build.gradle.kts to the below. Then run any task like
./gradlew clean
.Additional Notes
I see that
Project#afterEvaluate
is called specifically to exclude the Gradle API from being added to Shaded Jars, but perhaps it would be better to use this project's own filtering API. I don't mind doing the work here. I'm opening this ticket to get feedback on my thinking from the project owner.The text was updated successfully, but these errors were encountered: