Generate velocity-plugins.json and relocate fastutil (#2940)

This commit is contained in:
Konicai 2022-04-20 12:36:10 -04:00 committed by GitHub
parent 1ebc3fd8f6
commit d1cedbb823
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -1,11 +1,12 @@
val velocityVersion = "3.0.0" val velocityVersion = "3.0.0"
dependencies { dependencies {
annotationProcessor("com.velocitypowered", "velocity-api", velocityVersion)
api(projects.core) api(projects.core)
} }
platformRelocate("com.fasterxml.jackson") platformRelocate("com.fasterxml.jackson")
platformRelocate("it.unimi.fastutil") platformRelocate("it.unimi.dsi.fastutil")
platformRelocate("net.kyori.adventure.text.serializer.gson.legacyimpl") platformRelocate("net.kyori.adventure.text.serializer.gson.legacyimpl")
exclude("com.google.*:*") exclude("com.google.*:*")

View file

@ -10,6 +10,10 @@ allprojects {
group = "org.geysermc" group = "org.geysermc"
version = "2.1.0-SNAPSHOT" version = "2.1.0-SNAPSHOT"
description = "Allows for players from Minecraft: Bedrock Edition to join Minecraft: Java Edition servers." description = "Allows for players from Minecraft: Bedrock Edition to join Minecraft: Java Edition servers."
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
} }
val platforms = setOf( val platforms = setOf(