Add Snapshot maven repository (#941)

* backport PR #829 to 1.x branch, so that we can publish snapshots to our maven repository.
Signed-off-by: Marc Handalian <handalm@amazon.com>
This commit is contained in:
Marc Handalian 2021-07-07 11:00:05 -07:00 committed by GitHub
parent da6455d567
commit f0a2c4f038
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -105,6 +105,14 @@ subprojects {
name = 'test'
url = "${rootProject.buildDir}/local-test-repo"
}
maven {
name = 'Snapshots'
url = 'https://aws.oss.sonatype.org/content/repositories/snapshots'
credentials {
username "$System.env.SONATYPE_USERNAME"
password "$System.env.SONATYPE_PASSWORD"
}
}
}
}
}