mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-24 22:01:49 +01:00
Update ViaVersion, require Java 11
This commit is contained in:
parent
2547ea32e7
commit
36d3dd9a6d
@ -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
|
||||
|
@ -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"
|
Loading…
Reference in New Issue
Block a user