Skip to content

Commit

Permalink
fix: Put NOTICE.txt into META-INF folder of the output jar
Browse files Browse the repository at this point in the history
Signed-off-by: Sheng Chen <sheche@microsoft.com>
  • Loading branch information
jdneo committed Nov 14, 2023
1 parent a771284 commit 8b19788
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ application {
mainClass = 'com.microsoft.java.bs.core.Launcher'
}

jar {
metaInf {
from 'src/main/resources/NOTICE.txt'
}
}

test {
useJUnitPlatform()
testLogging {
Expand Down Expand Up @@ -57,4 +63,5 @@ processResources {
dependsOn copyRuntimeLibs
dependsOn(':server:generateInitScript')
duplicatesStrategy = 'include'
exclude 'NOTICE.txt'
}

0 comments on commit 8b19788

Please sign in to comment.