update publishing section
This commit is contained in:
parent
7ca8d0f771
commit
cb8b45dad0
1 changed files with 4 additions and 7 deletions
11
build.gradle
11
build.gradle
|
@ -44,8 +44,6 @@ dependencies {
|
|||
|
||||
}
|
||||
|
||||
def MAVEN_PASSWORD_PROPERTY = "AriasCreationsMavenPassword"
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
|
@ -59,11 +57,10 @@ publishing {
|
|||
url = "https://git.zontreck.com/api/packages/AriasCreations/maven"
|
||||
name = "ariascreations"
|
||||
def ENV = System.getenv()
|
||||
if (project.findProperty(MAVEN_PASSWORD_PROPERTY) != null) {
|
||||
credentials {
|
||||
username = ENV.MVN_USER
|
||||
password = ENV.ACMVN
|
||||
}
|
||||
|
||||
credentials {
|
||||
username = ENV.MVN_USER
|
||||
password = ENV.ACMVN
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue