Skip to content

Commit

Permalink
Merge pull request #1364 from dimagi/copy_of_buildFix
Browse files Browse the repository at this point in the history
Duplicate of buildFix
  • Loading branch information
shubham1g5 authored Oct 23, 2023
2 parents 53ad733 + 2212894 commit 56eb3e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ task cliJar(type: Jar, dependsOn: cliClasses) {
attributes 'Main-Class': 'org.commcare.util.cli.CliMain'
}
duplicatesStrategy = DuplicatesStrategy.FAIL
filesMatching(["**/LICENSE.txt","**/NOTICE.txt"]) {
filesMatching(["**/LICENSE.txt","**/NOTICE.txt", "META-INF/**"]) {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
}
Expand All @@ -177,7 +177,7 @@ task ccapiJar(type: Jar, dependsOn: ccapiClasses) {
}
}
duplicatesStrategy = DuplicatesStrategy.FAIL
filesMatching(["**/LICENSE.txt","**/NOTICE.txt"]) {
filesMatching(["**/LICENSE.txt","**/NOTICE.txt", "META-INF/**"]) {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
}
Expand All @@ -195,7 +195,7 @@ task harnessJar(type: Jar, dependsOn: translateClasses) {
attributes 'Main-Class': 'org.javarosa.engine.Harness'
}
duplicatesStrategy = DuplicatesStrategy.FAIL
filesMatching(["**/LICENSE.txt","**/NOTICE.txt"]) {
filesMatching(["**/LICENSE.txt","**/NOTICE.txt", "META-INF/**"]) {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
}
Expand Down Expand Up @@ -223,7 +223,7 @@ task formTranslateJar(type: Jar, dependsOn: translateClasses) {
attributes 'Main-Class': 'org.javarosa.xform.schema.Harness'
}
duplicatesStrategy = DuplicatesStrategy.FAIL
filesMatching(["**/LICENSE.txt","**/NOTICE.txt", "**/org.xmlpull.v1.XmlPullParserFactory","org/xmlpull/v1/*"]) {
filesMatching(["**/LICENSE.txt","**/NOTICE.txt", "META-INF/**", "**/org.xmlpull.v1.XmlPullParserFactory","org/xmlpull/v1/*"]) {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
}
Expand Down

0 comments on commit 56eb3e9

Please sign in to comment.