Download dependencies at runtime on all platforms (not just Paper), and read dependency info from file in plugin jar generated by Gradle task (#259)

* Download dependencies at runtime on all platforms (not just Paper), and read dependency info from file in plugin jar generated by Gradle task

* Add maven central as fallback for paper mirror

* filter duplicate dependencies

* fix fabric runServer

* add todo

* enable hangar publishing

* - exclude unneeded deps from runtime dl
- sort deps and relocations in the list file
- other misc fixes

* move jdbi relocation

* don't log anything when we don't download or relocate any dependencies

* add back mariadb driver and download more dependencies at runtime

and other related build changes

* build cleanup

* build cleanup

* remove useless dependencies block
This commit is contained in:
Jason authored and GitHub committed 2023-07-04 00:24:00 -07:00
1 parent 82c22a08fa
commit 307395ce5b
16 files changed
+694 -95

No files matched your search

+11 -10
View File
@@ -20,30 +20,31 @@ dependencies {
}
// Other
api(libs.guice) {
compileOnlyApi(libs.guice) {
exclude("com.google.guava")
}
api(libs.assistedInject)
compileOnlyApi(libs.assistedInject) {
isTransitive = false
}
compileOnlyApi(libs.luckPermsApi)
// Storage
api(libs.jdbiCore)
api(libs.jdbiObject)
api(libs.jdbiPostgres)
compileOnlyApi(libs.jdbiCore)
compileOnlyApi(libs.jdbiObject)
compileOnlyApi(libs.jdbiPostgres)
api(libs.hikariCP)
api(libs.flyway)
api(libs.flywayMysql)
api(libs.caffeine)
// Messaging
api(libs.messenger)
api(libs.messengerNats)
api(libs.messengerRabbitmq)
api(libs.messengerRedis)
api(libs.netty)
api(libs.jedis)
api(libs.rabbitmq)
api(libs.nats)
compileOnlyApi(libs.netty)
compileOnlyApi(libs.jarRelocator)
compileOnlyApi(libs.caffeine)
// we shade and relocate a newer version than minecraft provides
compileOnlyApi(libs.guava)