File tree Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -45,21 +45,6 @@ dependencies {
4545 testImplementation ' uk.org.webcompere:system-stubs-jupiter:2.0.2'
4646}
4747
48- repositories {
49- repositories {
50- maven {
51- // change URLs to point to your repos, e.g. http://my.org/repo
52- def releasesRepoUrl = " https://oss.sonatype.org/service/local/staging/deploy/maven2/"
53- def snapshotsRepoUrl = " https://oss.sonatype.org/content/repositories/snapshots"
54- url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
55- credentials{
56- username = System . getenv(" MAVEN_USERNAME" )
57- password = System . getenv(" MAVEN_PASSWORD" )
58- }
59- }
60- }
61- }
62-
6348publishing {
6449 publications. register(" jar" , MavenPublication ) {
6550 from components. java
@@ -97,6 +82,17 @@ publishing {
9782 }
9883 }
9984 }
85+ repositories {
86+ maven {
87+ def releasesRepoUrl = " https://oss.sonatype.org/service/local/staging/deploy/maven2/"
88+ def snapshotsRepoUrl = " https://oss.sonatype.org/content/repositories/snapshots"
89+ url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
90+ credentials {
91+ username = System . getenv(" MAVEN_USERNAME" )
92+ password = System . getenv(" MAVEN_PASSWORD" )
93+ }
94+ }
95+ }
10096}
10197
10298test {
You can’t perform that action at this time.
0 commit comments