Update to use environment variables in build env
This commit is contained in:
parent
4cdcb54f2e
commit
31d49e2cf9
1 changed files with 6 additions and 2 deletions
|
@ -44,6 +44,9 @@ dependencies {
|
|||
|
||||
}
|
||||
|
||||
def MAVEN_PASSWORD = "AriasCreationsMavenPassword"
|
||||
def MAVEN_USER = "AriasCreationsMavenUser"
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
|
@ -52,14 +55,15 @@ publishing {
|
|||
artifact javadocJar
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = "https://git.zontreck.com/api/packages/AriasCreations/maven"
|
||||
name = "ariascreations"
|
||||
|
||||
credentials {
|
||||
username = ENV.MVN_USER
|
||||
password = ENV.ACMVN
|
||||
username = project.findProperty(MAVEN_USER)
|
||||
password = project.findProperty(MAVEN_PASSWORD)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue