Replaced old Maven repository URL with updated Altitude Nexus URL and secured credentials usage. Added a Maven publishing configuration to enable artifact publishing to the Altitude snapshot repository.
29 lines
762 B
Plaintext
29 lines
762 B
Plaintext
rootProject.name = "shutdowninfo"
|
|
|
|
val nexusUser = providers.gradleProperty("alttdSnapshotUsername").get()
|
|
val nexusPass = providers.gradleProperty("alttdSnapshotPassword").get()
|
|
|
|
dependencyResolutionManagement {
|
|
repositories {
|
|
mavenCentral()
|
|
// Altitude
|
|
maven {
|
|
name = "nexus"
|
|
url = uri("https://repo.alttd.com/repository/alttd-snapshot/")
|
|
credentials {
|
|
username = nexusUser
|
|
password = nexusPass
|
|
}
|
|
}
|
|
// Velocity
|
|
maven("https://nexus.velocitypowered.com/repository/maven-public/")
|
|
}
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
}
|
|
|
|
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
}
|
|
}
|