-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Support for compileOnly dependencies #128
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
Comments
I guess that means we have to have an answer to the question "what does 'optional' mean for a gradle dependency?". Refs: https://issues.gradle.org/browse/GRADLE-1749, https://github.com/nebula-plugins/gradle-extra-configurations-plugin. |
We already have a plugin of our own that does that and we use it in the Spring Framework build so all it takes really is integrating the plugin in the gradle build when an optional and/or provided dependency is added to the project The only thing I don't know for sure is whether the Spring Boot repackage goal is smart enough to react to that. |
OK so I've started to work on this. We have 3 cases at this point:
We can deal with all these with "optional" in Maven. And ignore Gradle but the first two could be handled with the new @wilkinsona any insight? |
|
The new devtools could use to have an
<optional>true</optional>
entry as it shouldn't ship with the actual app by default.Provided scope is not managed properly in Intellij IDEA so that's not a great candidate unfortunately (and the semantic would be wrong anyway).
The text was updated successfully, but these errors were encountered: