mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-26 13:53:14 +00:00
Use artifactoryUsername/Password for plugin repositories
This commit is contained in:
parent
27f2391aa6
commit
8b71d213f9
10
build.gradle
10
build.gradle
@ -8,7 +8,15 @@ buildscript {
|
|||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
maven { url 'https://repo.spring.io/plugins-snapshot' }
|
maven {
|
||||||
|
url = 'https://repo.spring.io/plugins-snapshot'
|
||||||
|
if (project.hasProperty('artifactoryUsername')) {
|
||||||
|
credentials {
|
||||||
|
username "$artifactoryUsername"
|
||||||
|
password "$artifactoryPassword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
maven { url 'https://plugins.gradle.org/m2/' }
|
maven { url 'https://plugins.gradle.org/m2/' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user