update publishing section
This commit is contained in:
parent
7ca8d0f771
commit
cb8b45dad0
1 changed files with 4 additions and 7 deletions
|
@ -44,8 +44,6 @@ dependencies {
|
|||
|
||||
}
|
||||
|
||||
def MAVEN_PASSWORD_PROPERTY = "AriasCreationsMavenPassword"
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
|
@ -59,7 +57,7 @@ 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
|
||||
|
@ -67,7 +65,6 @@ publishing {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
|
|
Loading…
Reference in a new issue