mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-11-21 11:35:16 +01:00
Fix loom 1.5 screwing up the buildscript (#300)
* Finally fix the cursed loom 1.5 update. * Formatstyle adjustment. Tabs make this look ugly.
This commit is contained in:
parent
051e944693
commit
67c977009b
16
build.gradle
16
build.gradle
@ -125,10 +125,6 @@ static void setupRepositories(RepositoryHandler repositories) {
|
||||
}
|
||||
}
|
||||
|
||||
subprojects.each {
|
||||
remapJar.dependsOn("${it.path}:remapJar")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// dummy version
|
||||
minecraft("com.mojang:minecraft:1.14.4")
|
||||
@ -137,9 +133,17 @@ dependencies {
|
||||
include("com.viaversion:viaversion:${rootProject.viaver_version}")
|
||||
include("org.yaml:snakeyaml:${rootProject.yaml_version}")
|
||||
include("com.github.TinfoilMC:ClientCommands:1.1.0")
|
||||
}
|
||||
|
||||
subprojects.each {
|
||||
include project("${it.name}:")
|
||||
subprojects.each {
|
||||
remapJar.dependsOn("${it.path}:remapJar")
|
||||
}
|
||||
|
||||
remapJar {
|
||||
afterEvaluate {
|
||||
subprojects.each {
|
||||
nestedJars.from project("${it.path}").tasks.getByName("remapJar")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -17,5 +17,5 @@ include("viafabric-mc119")
|
||||
include("viafabric-mc120")
|
||||
|
||||
plugins {
|
||||
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
|
||||
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
|
||||
}
|
||||
|
@ -5,4 +5,8 @@ dependencies {
|
||||
modImplementation("net.fabricmc.fabric-api:fabric-api:0.28.5+1.14")
|
||||
modImplementation("io.github.prospector:modmenu:1.7.17+build.1")
|
||||
modImplementation("com.github.TinfoilMC:ClientCommands:1.1.0")
|
||||
}
|
||||
|
||||
tasks.compileJava {
|
||||
options.release.set(8)
|
||||
}
|
@ -5,4 +5,8 @@ dependencies {
|
||||
modImplementation("net.fabricmc.fabric-api:fabric-api:0.28.5+1.15")
|
||||
modImplementation("io.github.prospector:modmenu:1.10.4+build.1")
|
||||
modImplementation("com.github.TinfoilMC:ClientCommands:1.1.0")
|
||||
}
|
||||
|
||||
tasks.compileJava {
|
||||
options.release.set(8)
|
||||
}
|
@ -4,4 +4,8 @@ dependencies {
|
||||
|
||||
modImplementation("net.fabricmc.fabric-api:fabric-api:0.42.0+1.16")
|
||||
modImplementation("com.terraformersmc:modmenu:1.16.23")
|
||||
}
|
||||
|
||||
tasks.compileJava {
|
||||
options.release.set(8)
|
||||
}
|
@ -5,3 +5,7 @@ dependencies {
|
||||
modImplementation("net.fabricmc.fabric-api:fabric-api:0.46.1+1.17")
|
||||
modImplementation("com.terraformersmc:modmenu:2.0.17")
|
||||
}
|
||||
|
||||
tasks.compileJava {
|
||||
options.release.set(16)
|
||||
}
|
@ -5,3 +5,7 @@ dependencies {
|
||||
modImplementation("net.fabricmc.fabric-api:fabric-api:0.76.0+1.18.2")
|
||||
modImplementation("com.terraformersmc:modmenu:3.2.5")
|
||||
}
|
||||
|
||||
tasks.compileJava {
|
||||
options.release.set(17)
|
||||
}
|
@ -15,3 +15,7 @@ dependencies {
|
||||
loom {
|
||||
intermediaryUrl.set("https://maven.legacyfabric.net/net/legacyfabric/intermediary/%1\$s/intermediary-%1\$s-v2.jar")
|
||||
}
|
||||
|
||||
tasks.compileJava {
|
||||
options.release.set(8)
|
||||
}
|
Loading…
Reference in New Issue
Block a user