Files
Carbon/api/build.gradle.kts
T
2582c30e84 Implement Guice and Moonshine (#139)
* Initial pass - 1/?

* oops

* War against legacy, part 1

* Stuff & Bukkit

* Sponge

* Initial pass - 1/?

* more guice

* Separate guice module out

* Fix broken rebase

* Hello from Carbon!

* stuff

* Move init to correct location

* Bukkit has moonshine!

* Minor adjustments

* Sponge guice part 1

* No turning back from this party

* fix relocations and exclusions

* Some cleanup with the Bukkit side of things, too

* Add comment explaining why we pass this argument

Co-authored-by: Riley Park <[email protected]>
Co-authored-by: jmp <[email protected]>
2021-05-21 04:04:41 -07:00

36 lines
820 B
Kotlin

dependencies {
// Doesn't add any dependencies, only version constraints
api(platform(libs.adventureBom))
// These are provided by Paper and Sponge
compileOnlyApi(libs.adventureApi)
compileOnlyApi(libs.adventureTextSerializerPlain)
compileOnlyApi(libs.adventureTextSerializerLegacy)
compileOnlyApi(libs.adventureTextSerializerGson) {
exclude("com.google.code.gson")
}
api(libs.minimessage) {
isTransitive = false
}
compileOnlyApi(libs.checkerQual)
api(libs.kyoriEventApi)
api(libs.kyoriRegistry)
api(libs.cloudCore)
api(libs.cloudMinecraftExtras) {
isTransitive = false
}
api(libs.moonshine)
// we shade and relocate a newer version than minecraft provides
api(libs.guava)
// Provided by Minecraft
compileOnlyApi(libs.gson)
compileOnlyApi(libs.log4jApi)
}