add maven publiccation sonatype oss, new

This commit is contained in:
soloturn 2022-03-13 11:43:33 +01:00
parent b85ad6e7ae
commit 9fd761b1d1
1 changed files with 8 additions and 0 deletions

View File

@ -115,6 +115,14 @@ publishing {
name = "fstest"
url = uri(layout.buildDirectory.dir("repo"))
}
maven {
name = "OSSRH"
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
credentials {
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
}
}
}