diff --git a/spi/build.gradle b/spi/build.gradle index 2cfe1a0d21..43b4c2678e 100644 --- a/spi/build.gradle +++ b/spi/build.gradle @@ -70,5 +70,13 @@ publishing { } repositories { mavenLocal() + maven { + name = "Snapshots" // optional target repository name + url = "https://aws.oss.sonatype.org/content/repositories/snapshots" + credentials { + username "$System.env.SONATYPE_USERNAME" + password "$System.env.SONATYPE_PASSWORD" + } + } } }