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

Add automatic handling of Gradle API when using java-gradle-plugin #459

Merged
merged 1 commit into from
Jun 29, 2019

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