mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-11-21 11:35:16 +01:00
update gradle, fix 1.8.9 runClient
This commit is contained in:
parent
b0fb3c0399
commit
f109df3523
16
build.gradle
16
build.gradle
@ -41,17 +41,25 @@ allprojects {
|
||||
apply plugin: "maven-publish"
|
||||
apply plugin: "fabric-loom"
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
// lwjgl2 works with Adoptium
|
||||
languageVersion = JavaLanguageVersion.of(17)
|
||||
vendor = JvmVendorSpec.ADOPTIUM
|
||||
}
|
||||
withSourcesJar()
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
it.options.release.set(8)
|
||||
}
|
||||
tasks.withType(JavaExec).configureEach {
|
||||
it.javaLauncher.set(javaToolchains.launcherFor(java.toolchain))
|
||||
}
|
||||
|
||||
version = rootProject.version
|
||||
group = rootProject.group
|
||||
|
||||
java {
|
||||
withSourcesJar()
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url = "https://repo.viaversion.com/" }
|
||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
@ -6,6 +6,9 @@ dependencies {
|
||||
modImplementation("io.github.boogiemonster1o1:rewoven-modmenu:1.0.0+1.8.9") {
|
||||
isTransitive = false
|
||||
}
|
||||
|
||||
// fix newer java
|
||||
implementation("io.netty:netty-all:4.0.56.Final")
|
||||
}
|
||||
|
||||
loom {
|
||||
|
Loading…
Reference in New Issue
Block a user