File tree Expand file tree Collapse file tree 2 files changed +13
-18
lines changed Expand file tree Collapse file tree 2 files changed +13
-18
lines changed Original file line number Diff line number Diff line change @@ -96,26 +96,8 @@ publishing {
9696 }
9797 }
9898 }
99- repositories {
100- maven {
101- name = " staging"
102- url = rootProject. layout. buildDirectory. dir(" staging-deploy${ File.separator} maven" )
103- }
104- maven {
105- name = ' snapshots'
106- url = " https://oss.sonatype.org/content/repositories/snapshots/"
107- // So that Gradle uses the `ORG_GRADLE_PROJECT_snapshotsPassword` / `ORG_GRADLE_PROJECT_snapshotsUsername`
108- // env variables to read the username/password for the `snapshots` repository publishing:
109- credentials(PasswordCredentials )
110- }
111- }
11299}
113100
114-
115-
116-
117-
118-
119101// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
120102// Release / publishing tasks
121103
Original file line number Diff line number Diff line change @@ -59,5 +59,18 @@ publishing {
5959
6060 }
6161 }
62+ repositories {
63+ maven {
64+ name = " staging"
65+ url = rootProject. layout. buildDirectory. dir(" staging-deploy${ File.separator} maven" )
66+ }
67+ maven {
68+ name = ' snapshots'
69+ url = " https://oss.sonatype.org/content/repositories/snapshots/"
70+ // So that Gradle uses the `ORG_GRADLE_PROJECT_snapshotsPassword` / `ORG_GRADLE_PROJECT_snapshotsUsername`
71+ // env variables to read the username/password for the `snapshots` repository publishing:
72+ credentials(PasswordCredentials )
73+ }
74+ }
6275
6376}
You can’t perform that action at this time.
0 commit comments