update gradle, fix 1.8.9 runClient

This commit is contained in:
creeper123123321 2022-04-23 07:17:36 -03:00
parent b0fb3c0399
commit f109df3523
3 changed files with 16 additions and 5 deletions

View File

@ -41,17 +41,25 @@ allprojects {
apply plugin: "maven-publish" apply plugin: "maven-publish"
apply plugin: "fabric-loom" apply plugin: "fabric-loom"
java {
toolchain {
// lwjgl2 works with Adoptium
languageVersion = JavaLanguageVersion.of(17)
vendor = JvmVendorSpec.ADOPTIUM
}
withSourcesJar()
}
tasks.withType(JavaCompile).configureEach { tasks.withType(JavaCompile).configureEach {
it.options.release.set(8) it.options.release.set(8)
} }
tasks.withType(JavaExec).configureEach {
it.javaLauncher.set(javaToolchains.launcherFor(java.toolchain))
}
version = rootProject.version version = rootProject.version
group = rootProject.group group = rootProject.group
java {
withSourcesJar()
}
repositories { repositories {
mavenCentral() mavenCentral()
maven { url = "https://repo.viaversion.com/" } maven { url = "https://repo.viaversion.com/" }

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists 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 zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists

View File

@ -6,6 +6,9 @@ dependencies {
modImplementation("io.github.boogiemonster1o1:rewoven-modmenu:1.0.0+1.8.9") { modImplementation("io.github.boogiemonster1o1:rewoven-modmenu:1.0.0+1.8.9") {
isTransitive = false isTransitive = false
} }
// fix newer java
implementation("io.netty:netty-all:4.0.56.Final")
} }
loom { loom {