mirror of
https://codeberg.org/PGPainless/vks-java.git
synced 2025-12-05 13:01:08 +01:00
Update maven central URL
This commit is contained in:
parent
55d9312b26
commit
875d04dc15
1 changed files with 2 additions and 3 deletions
|
|
@ -60,8 +60,7 @@ allprojects {
|
||||||
isReleaseVersion = !isSnapshot
|
isReleaseVersion = !isSnapshot
|
||||||
signingRequired = !(isSnapshot || isContinuousIntegrationEnvironment)
|
signingRequired = !(isSnapshot || isContinuousIntegrationEnvironment)
|
||||||
sonatypeCredentialsAvailable = project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword')
|
sonatypeCredentialsAvailable = project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword')
|
||||||
sonatypeSnapshotUrl = 'https://oss.sonatype.org/content/repositories/snapshots'
|
sonatypeStagingUrl = 'https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/'
|
||||||
sonatypeStagingUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isSnapshot) {
|
if (isSnapshot) {
|
||||||
|
|
@ -156,7 +155,7 @@ subprojects {
|
||||||
repositories {
|
repositories {
|
||||||
if (sonatypeCredentialsAvailable) {
|
if (sonatypeCredentialsAvailable) {
|
||||||
maven {
|
maven {
|
||||||
url isSnapshot ? sonatypeSnapshotUrl : sonatypeStagingUrl
|
url sonatypeStagingUrl
|
||||||
credentials {
|
credentials {
|
||||||
username = sonatypeUsername
|
username = sonatypeUsername
|
||||||
password = sonatypePassword
|
password = sonatypePassword
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue