Skip to content

Conversation

@maguro
Copy link
Contributor

@maguro maguro commented Feb 11, 2019

The Java Gradle Plugin Development plugin, java-gradle-plugin,
automatically adds the full Gradle API to the compile configuration;
thus overriding a possible assignment of gradleApi() to the shadow
configuration. Since it is never a good idea to include the Gradle API
when creating a Gradle plugin, the dependency is removed so that it is
not included in the resultant shadow jar.

@maguro
Copy link
Contributor Author

maguro commented Feb 25, 2019

ping

The Java Gradle Plugin Development plugin, `java-gradle-plugin`,
automatically adds the full Gradle API to the `compile` configuration;
thus overriding a possible assignment of `gradleApi()` to the `shadow`
configuration.  Since it is never a good idea to include the Gradle API
when creating a Gradle plugin, the dependency is removed so that it is
not included in the resultant shadow jar.
@maguro
Copy link
Contributor Author

maguro commented Apr 3, 2019

ping

@johnrengelman johnrengelman merged commit 1af0fde into GradleUp:master Jun 29, 2019
@johnrengelman johnrengelman added this to the 5.1.0 milestone Jun 29, 2019
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

Successfully merging this pull request may close these issues.

2 participants