Set project version to 1.0.1-SNAPSHOT, updated Maven repository URLs, and adjusted credentials handling for Nexus. Refactored dependency configurations and modified LiteBansBanListener to update the embed title from "Auto Discord ban" to "Evidence".
35 lines
986 B
Plaintext
35 lines
986 B
Plaintext
rootProject.name = "ProxyDiscordLink"
|
|
|
|
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/")
|
|
// JDA
|
|
maven("https://m2.dv8tion.net/releases/")
|
|
// MiniMessage
|
|
// maven("https://oss.sonatype.org/content/repositories/snapshots/")
|
|
// LiteBans
|
|
maven("https://jitpack.io")
|
|
}
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
}
|
|
|
|
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
}
|
|
}
|