mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 14:38:49 +00:00
* 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
52 lines
1.0 KiB
Kotlin
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)
|
|
}
|