We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e8440e commit 27f7e76Copy full SHA for 27f7e76
reactor-tools/build.gradle
@@ -126,6 +126,11 @@ shadowJar {
126
inheritFrom project.tasks.jar.manifest
127
}
128
129
+ from("${rootDir}/docs/src/docs/dist") {
130
+ include "LICENSE"
131
+ into "META-INF"
132
+ }
133
+
134
configurations = [project.configurations.shaded]
135
136
project.afterEvaluate {
reactor-tools/src/jarFileTest/java/reactor/tools/JarFileShadingTest.java
@@ -45,7 +45,8 @@ public void testPackages() throws Exception {
45
@Test
46
public void testMetaInf() throws Exception {
47
assertThatFileList(root.resolve("META-INF")).containsOnly(
48
- "MANIFEST.MF"
+ "MANIFEST.MF",
49
+ "LICENSE"
50
);
51
52
0 commit comments