2021-07-29 03:14:29 +02:00
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
|
|
|
|
gradlePluginPortal()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-22 19:56:11 +02:00
|
|
|
dependencyResolutionManagement {
|
|
|
|
versionCatalogs {
|
|
|
|
libs {
|
|
|
|
// Buildscript
|
2024-06-23 15:26:15 +02:00
|
|
|
plugin('shadow', 'io.github.goooler.shadow').version('8.1.7')
|
2024-06-23 15:58:27 +02:00
|
|
|
plugin('spotless', 'com.diffplug.spotless').version('6.25.0')
|
2024-06-23 15:26:15 +02:00
|
|
|
plugin('blossom', 'net.kyori.blossom').version('2.1.0')
|
2024-06-23 15:58:27 +02:00
|
|
|
plugin('indra-git', 'net.kyori.indra.git').version('2.2.0')
|
|
|
|
plugin('indra-licenser', 'net.kyori.indra.licenser.spotless').version('2.2.0')
|
2024-06-23 15:26:15 +02:00
|
|
|
plugin('idea-ext', 'org.jetbrains.gradle.plugin.idea-ext').version('1.1.7')
|
2022-04-22 19:56:11 +02:00
|
|
|
|
2024-10-20 21:59:19 +02:00
|
|
|
// Run platforms
|
|
|
|
version('runtask', '2.3.1')
|
|
|
|
plugin('run-paper', 'xyz.jpenilla.run-paper').versionRef('runtask')
|
|
|
|
plugin('run-velocity', 'xyz.jpenilla.run-velocity').versionRef('runtask')
|
|
|
|
plugin('run-waterfall', 'xyz.jpenilla.run-waterfall').versionRef('runtask')
|
|
|
|
|
2022-04-22 19:56:11 +02:00
|
|
|
// Bukkit
|
2023-04-23 15:53:58 +02:00
|
|
|
version('bukkit_minimum', '1.8.8-R0.1-SNAPSHOT')
|
|
|
|
version('bukkit1_12', '1.12.2-R0.1-SNAPSHOT')
|
2024-08-12 13:30:38 +02:00
|
|
|
version('bukkit_latest', '1.21.1-R0.1-SNAPSHOT')
|
2023-07-01 16:37:42 +02:00
|
|
|
version('folia', '1.20.1-R0.1-SNAPSHOT')
|
2023-04-23 15:53:58 +02:00
|
|
|
library('paperapi', 'io.papermc.paper', 'paper-api').versionRef('bukkit_latest')
|
2023-11-12 23:58:17 +01:00
|
|
|
library('spigotapi', 'org.spigotmc', 'spigot-api').versionRef('bukkit_latest')
|
|
|
|
library('bukkit', 'org.bukkit', 'bukkit').versionRef('bukkit_minimum')
|
2023-04-23 15:53:58 +02:00
|
|
|
library('spigotapi-onetwelve', 'org.spigotmc', 'spigot-api').versionRef('bukkit1_12')
|
|
|
|
library('folia', 'dev.folia', 'folia-api').versionRef('folia')
|
2022-04-22 19:56:11 +02:00
|
|
|
|
|
|
|
// Bungee
|
2024-08-12 13:30:38 +02:00
|
|
|
library('bungee', 'net.md-5', 'bungeecord-api').version('1.21-R0.1-SNAPSHOT')
|
2022-04-22 19:56:11 +02:00
|
|
|
|
|
|
|
// Velocity
|
2024-08-12 13:30:38 +02:00
|
|
|
library('velocity', 'com.velocitypowered', 'velocity-api').version('3.3.0-SNAPSHOT')
|
2022-04-22 19:56:11 +02:00
|
|
|
|
|
|
|
// DependencyDownload
|
2024-07-07 12:29:01 +02:00
|
|
|
version('dependencydownload', '1.3.1')
|
2022-04-22 19:56:11 +02:00
|
|
|
plugin('dependencydownload-plugin', 'dev.vankka.dependencydownload.plugin').versionRef('dependencydownload')
|
|
|
|
library('dependencydownload-runtime', 'dev.vankka', 'dependencydownload-runtime').versionRef('dependencydownload')
|
|
|
|
library('dependencydownload-jarinjar-bootstrap', 'dev.vankka', 'dependencydownload-jarinjar-bootstrap').versionRef('dependencydownload')
|
|
|
|
library('dependencydownload-jarinjar-loader', 'dev.vankka', 'dependencydownload-jarinjar-loader').versionRef('dependencydownload')
|
|
|
|
|
|
|
|
// MinecraftDependencyDownload
|
2024-07-07 12:29:01 +02:00
|
|
|
version('mcdependencydownload', '1.0.0')
|
2022-04-22 19:56:11 +02:00
|
|
|
library('mcdependencydownload-bukkit-bootstrap', 'dev.vankka', 'minecraftdependencydownload-bukkit').versionRef('mcdependencydownload')
|
2022-04-25 14:35:50 +02:00
|
|
|
library('mcdependencydownload-bukkit-loader', 'dev.vankka', 'minecraftdependencydownload-bukkit-loader').versionRef('mcdependencydownload')
|
2022-04-22 19:56:11 +02:00
|
|
|
library('mcdependencydownload-bungee-bootstrap', 'dev.vankka', 'minecraftdependencydownload-bungee').versionRef('mcdependencydownload')
|
2022-04-25 14:35:50 +02:00
|
|
|
library('mcdependencydownload-bungee-loader', 'dev.vankka', 'minecraftdependencydownload-bungee-loader').versionRef('mcdependencydownload')
|
2022-04-22 19:56:11 +02:00
|
|
|
library('mcdependencydownload-velocity', 'dev.vankka', 'minecraftdependencydownload-velocity').versionRef('mcdependencydownload')
|
|
|
|
|
|
|
|
// Annotations
|
2024-06-24 22:04:20 +02:00
|
|
|
library('jetbrains-annotations', 'org.jetbrains', 'annotations').version('24.1.0')
|
2022-04-22 19:56:11 +02:00
|
|
|
|
|
|
|
// JDA
|
2024-11-16 21:20:30 +01:00
|
|
|
library('jda', 'net.dv8tion', 'JDA').version('5.2.1')
|
2023-07-11 18:50:19 +02:00
|
|
|
|
|
|
|
// OkHTTP
|
2024-02-17 22:36:12 +01:00
|
|
|
library('okhttp', 'com.squareup.okhttp3', 'okhttp').version('4.12.0')
|
2022-04-22 19:56:11 +02:00
|
|
|
|
|
|
|
// Apache commons
|
2024-02-17 22:36:12 +01:00
|
|
|
library('commons-lang', 'org.apache.commons', 'commons-lang3').version('3.14.0')
|
|
|
|
library('commons-io', 'commons-io', 'commons-io').version('2.15.1')
|
2022-04-22 19:56:11 +02:00
|
|
|
|
|
|
|
// Caffeine
|
2022-04-25 14:49:22 +02:00
|
|
|
library('caffeine', 'com.github.ben-manes.caffeine', 'caffeine').version {
|
2023-05-18 10:55:05 +02:00
|
|
|
prefer '2.9.3'
|
2022-04-25 14:49:22 +02:00
|
|
|
reject '[3,)' // Java 11
|
|
|
|
}
|
2022-04-22 19:56:11 +02:00
|
|
|
|
2022-06-25 21:33:55 +02:00
|
|
|
// DynamicProxy
|
2023-10-15 22:23:32 +02:00
|
|
|
version('dynamicproxy', '1.0.1-SNAPSHOT')
|
|
|
|
library('dynamicproxy-api', 'dev.vankka', 'dynamicproxy').versionRef('dynamicproxy')
|
|
|
|
library('dynamicproxy-runtime', 'dev.vankka', 'dynamicproxy-runtime').versionRef('dynamicproxy')
|
2022-06-25 21:33:55 +02:00
|
|
|
|
2022-04-22 19:56:11 +02:00
|
|
|
// Jackson
|
2024-02-17 22:36:12 +01:00
|
|
|
library('jackson-databind', 'com.fasterxml.jackson.core', 'jackson-databind').version('2.16.1')
|
2022-04-22 19:56:11 +02:00
|
|
|
|
|
|
|
// Config(urate)
|
2023-05-20 20:05:10 +02:00
|
|
|
version('configurate', '4.2.0-yamlbranch-4')
|
2022-04-22 19:56:11 +02:00
|
|
|
library('configurate-yaml', 'org.spongepowered', 'configurate-yaml').versionRef('configurate')
|
|
|
|
|
|
|
|
// DB
|
2022-04-25 14:49:22 +02:00
|
|
|
library('hikaricp', 'com.zaxxer', 'HikariCP').version {
|
|
|
|
prefer '4.0.3'
|
|
|
|
reject '[5,)' // Java 11
|
|
|
|
}
|
2022-04-22 19:56:11 +02:00
|
|
|
library('h2', 'com.h2database', 'h2').version('2.1.210')
|
|
|
|
library('mysql', 'mysql', 'mysql-connector-java').version('8.0.28')
|
2023-07-09 20:03:48 +02:00
|
|
|
library('mariadb', 'org.mariadb.jdbc', 'mariadb-java-client').version('3.1.4')
|
2022-04-22 19:56:11 +02:00
|
|
|
|
2022-05-11 18:09:41 +02:00
|
|
|
// MinecraftAuth lib
|
2023-03-18 13:23:31 +01:00
|
|
|
library('minecraftauth-lib', 'me.minecraftauth', 'lib').version('1.1.0')
|
2022-05-11 18:09:41 +02:00
|
|
|
|
2022-04-22 19:56:11 +02:00
|
|
|
// Brigadier & Commodore
|
|
|
|
library('brigadier', 'com.mojang', 'brigadier').version('1.0.18')
|
2023-06-18 23:50:09 +02:00
|
|
|
library('commodore', 'me.lucko', 'commodore').version('2.2')
|
2022-04-22 19:56:11 +02:00
|
|
|
|
|
|
|
// Integrations
|
|
|
|
library('luckperms', 'net.luckperms', 'api').version('5.4')
|
|
|
|
library('vaultapi', 'net.milkbowl.vault', 'VaultAPI').version('1.7')
|
2022-04-26 16:00:09 +02:00
|
|
|
library('placeholderapi-bukkit', 'me.clip', 'placeholderapi').version('2.11.1')
|
2023-02-20 20:55:45 +01:00
|
|
|
library('townychat', 'com.palmergames.bukkit', 'TownyChat').version('0.45')
|
|
|
|
library('venturechat', 'mineverse.aust1n46', 'venturechat').version('3.5.0')
|
|
|
|
library('chatty', 'ru.mrbrikster', 'chatty-api').version('2.19.13')
|
|
|
|
library('lunachat', 'com.github.ucchyocean.lc', 'LunaChat').version('3.0.16')
|
2023-11-12 23:58:17 +01:00
|
|
|
library('bungeecord-chat', 'net.md-5', 'bungeecord-chat').version('1.12-SNAPSHOT')
|
2023-05-18 11:33:48 +02:00
|
|
|
library('mcmmo', 'com.gmail.nossr50', 'mcmmo').version('2.1.220')
|
2023-05-18 11:46:03 +02:00
|
|
|
library('griefprevention', 'me.ryanhamshire', 'GriefPrevention').version('16.18.1')
|
2024-03-30 13:41:12 +01:00
|
|
|
library('essentialsx', 'net.essentialsx', 'EssentialsX').version('2.20.1')
|
2022-04-22 19:56:11 +02:00
|
|
|
|
|
|
|
// Logging
|
|
|
|
library('slf4j-api', 'org.slf4j', 'slf4j-api').version('1.7.36')
|
|
|
|
library('log4j-core', 'org.apache.logging.log4j', 'log4j-core').version('2.0-beta9')
|
|
|
|
|
|
|
|
// Adventure
|
2024-02-17 22:36:12 +01:00
|
|
|
version('adventure', '4.15.0')
|
2022-04-22 19:56:11 +02:00
|
|
|
library('adventure-api', 'net.kyori', 'adventure-api').versionRef('adventure')
|
|
|
|
library('adventure-serializer-plain', 'net.kyori', 'adventure-text-serializer-plain').versionRef('adventure')
|
|
|
|
library('adventure-serializer-legacy', 'net.kyori', 'adventure-text-serializer-legacy').versionRef('adventure')
|
|
|
|
library('adventure-serializer-gson', 'net.kyori', 'adventure-text-serializer-gson').versionRef('adventure')
|
2023-06-03 22:05:57 +02:00
|
|
|
library('adventure-serializer-ansi', 'net.kyori', 'adventure-text-serializer-ansi').versionRef('adventure')
|
2022-04-22 19:56:11 +02:00
|
|
|
|
|
|
|
// Adventure Platform
|
2024-08-10 13:07:48 +02:00
|
|
|
version('adventure-platform', '4.3.4')
|
2022-04-22 19:56:11 +02:00
|
|
|
library('adventure-platform-bukkit', 'net.kyori', 'adventure-platform-bukkit').versionRef('adventure-platform')
|
|
|
|
library('adventure-platform-bungee', 'net.kyori', 'adventure-platform-bungeecord').versionRef('adventure-platform')
|
|
|
|
library('adventure-serializer-bungee', 'net.kyori', 'adventure-text-serializer-bungeecord').versionRef('adventure-platform')
|
|
|
|
|
2023-10-05 23:12:13 +02:00
|
|
|
// Upgrade ansi (used by ansi serializer)
|
2024-06-23 14:28:22 +02:00
|
|
|
library('kyori-ansi', 'net.kyori', 'ansi').version('1.1.0')
|
2023-10-05 23:12:13 +02:00
|
|
|
|
2022-04-22 19:56:11 +02:00
|
|
|
// MCDiscordReserializer & EnhancedLegacyText
|
2023-05-19 18:59:03 +02:00
|
|
|
library('mcdiscordreserializer', 'dev.vankka', 'mcdiscordreserializer').version('4.4.0-SNAPSHOT')
|
2023-06-24 20:40:55 +02:00
|
|
|
library('enhancedlegacytext', 'dev.vankka', 'enhancedlegacytext').version('2.0.0-SNAPSHOT')
|
2022-04-22 19:56:11 +02:00
|
|
|
|
|
|
|
// JUnit
|
2024-06-23 15:58:27 +02:00
|
|
|
library('junit-jupiter', 'org.junit.jupiter', 'junit-jupiter').version('5.10.2')
|
2022-04-22 19:56:11 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-01 16:20:41 +02:00
|
|
|
rootProject.name = 'DiscordSRV-Ascension'
|
2021-07-29 03:14:29 +02:00
|
|
|
|
|
|
|
[
|
2023-04-30 14:19:31 +02:00
|
|
|
'common', 'common:api', 'common:unrelocate',
|
2021-07-29 03:14:29 +02:00
|
|
|
'i18n',
|
|
|
|
'api',
|
2023-11-12 23:58:17 +01:00
|
|
|
'bukkit', 'bukkit:loader', 'bukkit:folia', 'bukkit:spigot', 'bukkit:paper', 'bukkit:bukkit1_12',
|
2021-07-29 03:14:29 +02:00
|
|
|
'bungee', 'bungee:loader',
|
|
|
|
'velocity'
|
|
|
|
].each {
|
|
|
|
include it
|
|
|
|
findProject(':' + it).name = String.join('-', it.split(':'))
|
|
|
|
}
|