Skip to content

Commit

Permalink
NOJIRA
Browse files Browse the repository at this point in the history
fixing duplicates in the WAR file issue
  • Loading branch information
chasegawa committed Nov 28, 2023
1 parent 3475701 commit 68cfe9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ bootWar {
}
dependsOn 'copyApplicationYAML'
archiveName = "${baseName}-${version}.war"
duplicatesStrategy(DuplicatesStrategy.INCLUDE)
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
}

springBoot {
Expand Down Expand Up @@ -363,7 +363,7 @@ task enversTest(type: Test) {
classpath = sourceSets.enversTest.runtimeClasspath
systemProperties = System.properties
systemProperties['user.dir'] = workingDir
processEnversTestResources.duplicatesStrategy(DuplicatesStrategy.INCLUDE)
processEnversTestResources.duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
useJUnitPlatform()
}

Expand Down Expand Up @@ -486,7 +486,7 @@ docker {
files tasks.bootWar.outputs
files 'src/main/docker-files/loader.properties'
buildArgs(['JAR_FILE': "shibui-${version}.war"])
copySpec.duplicatesStrategy(DuplicatesStrategy.INCLUDE)
copySpec.duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
}

tasks.dockerRun.dependsOn tasks.docker
Expand Down

0 comments on commit 68cfe9c

Please sign in to comment.