update publishing section

This commit is contained in:
zontreck 2024-09-06 03:16:59 -07:00
parent 7ca8d0f771
commit cb8b45dad0

View file

@ -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()