Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-25 15:50:19 +01:00
14 Zeilen
401 B
Groovy
14 Zeilen
401 B
Groovy
publishing {
|
|
repositories {
|
|
maven {
|
|
credentials(PasswordCredentials.class)
|
|
|
|
name = 'paper'
|
|
def base = 'https://papermc.io/repo/repository/maven'
|
|
def releasesRepoUrl = "$base-releases/"
|
|
def snapshotsRepoUrl = "$base-snapshots/"
|
|
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
|
|
}
|
|
}
|
|
}
|