Skip to content

Commit ea62740

Browse files
committed
[#2501] Include license file in the META-INF of published artifacts
1 parent f2e7ec0 commit ea62740

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

publish.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ java {
1010
withSourcesJar()
1111
}
1212

13+
def rootDir = project(":").projectDir
1314
jar {
1415
manifest {
1516
attributes(
@@ -24,6 +25,11 @@ jar {
2425
'Implementation-Url': 'https://hibernate.org/reactive',
2526
)
2627
}
28+
metaInf {
29+
from(rootDir, {
30+
include "LICENSE"
31+
})
32+
}
2733
}
2834

2935
javadoc {

0 commit comments

Comments
 (0)