Files
Carbon/common/build.gradle.kts
T
Jason 307395ce5b 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
2023-07-04 00:24:00 -07:00

52 lines
1.0 KiB
Kotlin

plugins {
id("carbon.base-conventions")
}
dependencies {
api(projects.carbonchatApi)
// Configs
api(libs.configurateHocon)
api(libs.adventureSerializerConfigurate4) {
isTransitive = false
}
//api(libs.typesafeConfig)
// Cloud
api(platform(libs.cloudBom))
api(libs.cloudCore)
api(libs.cloudMinecraftExtras) {
isTransitive = false
}
// Other
compileOnlyApi(libs.guice) {
exclude("com.google.guava")
}
compileOnlyApi(libs.assistedInject) {
isTransitive = false
}
compileOnlyApi(libs.luckPermsApi)
// Storage
compileOnlyApi(libs.jdbiCore)
compileOnlyApi(libs.jdbiObject)
compileOnlyApi(libs.jdbiPostgres)
api(libs.hikariCP)
api(libs.flyway)
api(libs.flywayMysql)
// Messaging
api(libs.messenger)
api(libs.messengerNats)
api(libs.messengerRabbitmq)
api(libs.messengerRedis)
compileOnlyApi(libs.netty)
compileOnlyApi(libs.jarRelocator)
compileOnlyApi(libs.caffeine)
// we shade and relocate a newer version than minecraft provides
compileOnlyApi(libs.guava)
}