Skip to content

Commit

Permalink
Run bootRepackage before publish to create service JAR
Browse files Browse the repository at this point in the history
  • Loading branch information
cer committed Mar 19, 2021
1 parent c46015c commit 1c05d78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

docker login -u ${DOCKER_USER_ID?} -p ${DOCKER_PASSWORD?}

./gradlew assemble publishEventuateArtifacts
./gradlew publishEventuateArtifacts

./gradlew publishEventuateDockerImages
4 changes: 3 additions & 1 deletion eventuate-tram-messaging-proxy-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ dependencies {
testCompile "io.eventuate.tram.core:eventuate-tram-spring-commands:$eventuateTramVersion"
}

publish.dependsOn(tasks.findByName('bootRepackage') == null ? tasks['bootJar'] : tasks['bootRepackage'])

test {
forkEvery 1
}
}

0 comments on commit 1c05d78

Please sign in to comment.