Update ViaVersion, require Java 11

This commit is contained in:
creeper123123321 2020-12-13 16:59:03 -03:00
parent 2547ea32e7
commit 36d3dd9a6d
2 changed files with 9 additions and 3 deletions

View File

@ -15,6 +15,8 @@ Idea: server.example.com._p25565._v1_12_2._otrue._uBACKUSERNAME.viaaas.example.c
Download: https://github.com/ViaVersion/VIAaaS/actions (needs to be logged into GitHub)
Requires Java 11
Usage for offline mode:
- Run the shadow jar or ./gradlew clean run
- Connect to mc.example.com._v1_8.viaaas.localhost

View File

@ -11,8 +11,8 @@ application {
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
val gitVersion: groovy.lang.Closure<String> by extra
@ -33,7 +33,7 @@ repositories {
}
dependencies {
implementation("us.myles:viaversion:3.2.0") { isTransitive = false }
implementation("us.myles:viaversion:3.2.1") { isTransitive = false }
implementation("nl.matsv:viabackwards-all:3.2.0") { isTransitive = false }
implementation("de.gerrygames:viarewind-all:1.5.2") { isTransitive = false }
implementation("io.netty:netty-all:4.1.53.Final")
@ -82,3 +82,7 @@ tasks.named<ProcessResources>("processResources") {
))
}
}
val compileKotlin: org.jetbrains.kotlin.gradle.tasks.KotlinCompile by tasks
compileKotlin.kotlinOptions.jvmTarget = "11"