Skip to content

Commit 4044c22

Browse files
committed
Add separate repositories section for dependency resolution
Signed-off-by: Craig Perkins <[email protected]>
1 parent 9964fb8 commit 4044c22

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

build.gradle

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,22 @@ configure(allprojects - project(':distribution:archives:integ-test-zip')) {
9292
}
9393
}
9494

95+
repositories {
96+
mavenCentral()
97+
maven {
98+
name = 'test'
99+
url = "${rootProject.buildDir}/local-test-repo"
100+
}
101+
maven {
102+
name = 'Snapshots'
103+
url = 'https://aws.oss.sonatype.org/content/repositories/snapshots'
104+
credentials {
105+
username = "$System.env.SONATYPE_USERNAME"
106+
password = "$System.env.SONATYPE_PASSWORD"
107+
}
108+
}
109+
}
110+
95111
subprojects {
96112
// Default to the apache license
97113
project.ext.licenseName = 'The Apache Software License, Version 2.0'

0 commit comments

Comments
 (0)