Move adventure dependency and exclude checker-qual

This commit is contained in:
Kieran Wallbanks 2021-03-23 12:29:22 +00:00
parent 0178a0a852
commit 218b443a16
1 changed files with 10 additions and 5 deletions

View File

@ -165,6 +165,12 @@ dependencies {
api "com.github.Minestom:DependencyGetter:v1.0.1"
// Adventure, for user-interface
api "net.kyori:adventure-api:$adventureVersion"
api "net.kyori:adventure-text-serializer-gson:$adventureVersion"
api "net.kyori:adventure-text-serializer-plain:$adventureVersion"
api "net.kyori:adventure-text-serializer-legacy:$adventureVersion"
// LWJGL, for map rendering
lwjglApi platform("org.lwjgl:lwjgl-bom:$lwjglVersion")
@ -182,12 +188,11 @@ dependencies {
generatorsImplementation("com.squareup:javapoet:1.13.0")
}
// Adventure, for text messages
api "net.kyori:adventure-api:$adventureVersion"
api "net.kyori:adventure-text-serializer-gson:$adventureVersion"
api "net.kyori:adventure-text-serializer-plain:$adventureVersion"
api "net.kyori:adventure-text-serializer-legacy:$adventureVersion"
configurations.all {
// we use jetbrains annotations
exclude group: "org.checkerframework", module: "checker-qual"
}
publishing {