-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Provide access to the CopySpec for BOOT-INF of BootJar as Gradle's War task does for WEB-INF #13000
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
If there are no objections, I'd like to add the missing methods in 2.0.x as they, arguably, should have been there from the outset. |
@wilkinsona would these methods be named |
Yeah, I think they’d be:
|
+1 from me then |
And now I see why you asked. I used the wrong names in the opening description. Sorry for the confusion. |
I'm not sure this is possible without using internal API. Gradle's |
This isn't possible without using internal API so I don't think we should do it. I've opened gradle/gradle#5239 to see if the Gradle team can provide the necessary API. In the meantime, I'm going to decline this issue. We can re-open it if Gradle provides the necessary API at some point in the future. |
Turns out that this is possible after all. |
Uh oh!
There was an error while loading. Please reload this page.
Gradle's
War
task has methods for working with theWEB-INF
CopySpec
:getWebInf()
webInf(Action<CopySpec>)
webInf(Closure)
BootJar
has no such methods for itsCopySpec
forBOOT-INF
which is analogous to theWar
task'sCopySpec
forWEB-INF
. When should add bothgetWebInf()
andwebInf(Action<CopySpec>)
. I don't think there's any need forwebInf(Closure)
as Groovy can happily use theAction
variant.The text was updated successfully, but these errors were encountered: