We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f5f40e commit f9164f2Copy full SHA for f9164f2
local-build-plugins/src/main/groovy/local.publishing.gradle
@@ -70,6 +70,9 @@ publishingExtension.repositories {
70
maven {
71
name = 'snapshots'
72
url = "https://oss.sonatype.org/content/repositories/snapshots/"
73
+ // So that Gradle uses the `ORG_GRADLE_PROJECT_snapshotsPassword` / `ORG_GRADLE_PROJECT_snapshotsUsername`
74
+ // env variables to read the username/password for the `snapshots` repository publishing:
75
+ credentials(PasswordCredentials)
76
}
77
78
0 commit comments