diff --git a/build.gradle b/build.gradle index eed5984..19346e0 100644 --- a/build.gradle +++ b/build.gradle @@ -179,6 +179,9 @@ test { assemble.dependsOn clean, jar +publishMainPublicationToMavenLocal.dependsOn jar +publishMainPublicationToGitHubPackagesRepository.dependsOn jar + task addGitTag { doLast { println "git tag ${version}".execute().text diff --git a/wiremock-grpc-extension-standalone/build.gradle b/wiremock-grpc-extension-standalone/build.gradle index 7323f8f..8fdb217 100644 --- a/wiremock-grpc-extension-standalone/build.gradle +++ b/wiremock-grpc-extension-standalone/build.gradle @@ -94,7 +94,9 @@ publishing { assemble.dependsOn clean, shadowJar publishStandalonePublicationToMavenLocal.dependsOn jar -publish.dependsOn jar +publishStandalonePublicationToGitHubPackagesRepository.dependsOn jar +publishStandalonePublicationToSonatypeRepository.dependsOn jar + task localRelease { dependsOn clean, assemble, publishToMavenLocal