Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1.0
-
None
Description
The configuration option createSourcesJar allows to shade sources JAR, but there is no such option for test sources.
I see two solutions:
- Extend the semantics of createSourcesJar such that, when combined with shadeTestJar, is also creates the test sources JAR.
- Introduce a new configuration option createTestSourcesJar, similar to createSourcesJar.
The former is very intuitive, but it lacks the flexibility to create a JAR, sources JAR, test JAR, but no test sources JAR. The latter allows more flexibility.
Attachments
Issue Links
- depends upon
-
MSHADE-284 Shaded test JARs are always empty
- Closed
- relates to
-
MSHADE-333 Shading of sources uses hard-coded classifier "sources"
- Open
- links to
Feel free to assign back to me, I'd be happy to fix this myself if you agree with the solution.