Skip to content

Commit

Permalink
GEODE-2158: Include correct NOTICE file in jar artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
metatype committed Dec 1, 2016
1 parent 5928459 commit f4439fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/java.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ subprojects {

metaInf {
from("$rootDir/LICENSE")
if (!jar.source.contains('NOTICE')) {
if (jar.source.filter({ it.name.contains('NOTICE') }).empty) {
from("$rootDir/NOTICE")
}
}
Expand Down

0 comments on commit f4439fc

Please sign in to comment.