This commit updates the handling of JDA interactions to use the latest available methods and classes. Classes such as Modal and SelectMenu have been refactored and updated with new package locations. This change also includes adjustments for event handling where methods dealing with SelectMenuInteractionEvent are updated to GenericSelectMenuInteractionEvent and StringSelectInteractionEvent. Finally, minor changes were made to replace the use of some javax annotations with their JetBrains equivalents.
23 lines
534 B
Plaintext
23 lines
534 B
Plaintext
rootProject.name = "AltitudeBot"
|
|
|
|
dependencyResolutionManagement {
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
// JDA
|
|
maven("https://m2.dv8tion.net/releases/")
|
|
// Configurate
|
|
maven("https://repo.spongepowered.org/maven")
|
|
// MySQL
|
|
maven("https://jcenter.bintray.com")
|
|
maven("https://repo.destro.xyz/snapshots")
|
|
}
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
}
|
|
|
|
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
}
|
|
}
|