ShutdownInfo/settings.gradle.kts
Teriuihi d89fdf7ace Update Maven repository URL and add publishing configuration
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.
2025-05-03 02:20:10 +02:00

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