Skip to content

Commit 7b1beb4

Browse files
marko-bekhtambellade
authored andcommitted
#150 Include license file in the META-INF of published artifacts
1 parent 59644cd commit 7b1beb4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

buildSrc/src/main/groovy/published-java-module.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ tasks.named("jar") {
2525
'Automatic-Module-Name': moduleName
2626
)
2727
}
28+
metaInf {
29+
from(rootProject.projectDir, {
30+
include "LICENSE"
31+
})
32+
}
2833
}
2934

3035
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)