From e411c7638f253b4947c033b4e4298eab72394757 Mon Sep 17 00:00:00 2001 From: Neenu1995 Date: Wed, 13 Oct 2021 13:33:16 -0400 Subject: [PATCH] chore: nexus-publish plugin cannot publish multimodule project to maven central --- .kokoro/release/stage.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.kokoro/release/stage.sh b/.kokoro/release/stage.sh index 56de06fe4..c1b88ab4f 100755 --- a/.kokoro/release/stage.sh +++ b/.kokoro/release/stage.sh @@ -30,6 +30,9 @@ setup_environment_secrets mkdir -p ${HOME}/.gradle create_gradle_properties_file "${HOME}/.gradle/gradle.properties" +# This is a multi module project. Cannot publish directly to maven without +# resolving this issue https://github.com/gradle-nexus/publish-plugin/issues/19 +# Might migrate to maven pom in the future. ./gradlew publishToSonatype if [[ -n "${AUTORELEASE_PR}" ]]