fix(lom): Temporarily go back to fabric loom
ci/woodpecker/push/gradle Pipeline was successful Details
ci/woodpecker/push/pages Pipeline was successful Details

Arch loom had a weird issue with remapping and since we don't yet support forge anyways, this seems like the easiest workaround
This commit is contained in:
Johannes Frohnmeyer 2024-04-25 10:20:28 +02:00
parent d0b6a2d8a1
commit 9122ab475b
Signed by: Johannes
GPG Key ID: E76429612C2929F4
3 changed files with 13 additions and 11 deletions

View File

@ -14,12 +14,12 @@ repositories {
name = "Fabric" name = "Fabric"
url = uri("https://maven.fabricmc.net/") url = uri("https://maven.fabricmc.net/")
} }
maven { // maven {
name = "Architectury" // name = "Architectury"
url = uri("https://maven.architectury.dev/") // url = uri("https://maven.architectury.dev/")
} // }
maven { // maven {
name = "Forge" // name = "Forge"
url = uri("https://files.minecraftforge.net/maven/") // url = uri("https://files.minecraftforge.net/maven/")
} // }
} }

View File

@ -4,6 +4,7 @@ plugins {
dependencies { dependencies {
api(projects.convention) api(projects.convention)
api("dev.architectury.loom:dev.architectury.loom.gradle.plugin:1.6-SNAPSHOT") api("net.fabricmc:fabric-loom:1.6-SNAPSHOT")
//api("dev.architectury.loom:dev.architectury.loom.gradle.plugin:1.6-SNAPSHOT")
api("com.github.johnrengelman:shadow:8.1.1") api("com.github.johnrengelman:shadow:8.1.1")
} }

View File

@ -7,7 +7,8 @@ plugins {
id("jf.java") id("jf.java")
idea idea
`maven-publish` `maven-publish`
id("dev.architectury.loom") id("fabric-loom")
// id("dev.architectury.loom")
id("com.github.johnrengelman.shadow") id("com.github.johnrengelman.shadow")
} }
@ -22,7 +23,7 @@ args.loaderKind.finalizeValue()
loom { loom {
runtimeOnlyLog4j.set(true) runtimeOnlyLog4j.set(true)
if (args.isSplitSources) splitEnvironmentSourceSets() if (args.isSplitSources) splitEnvironmentSourceSets()
silentMojangMappingsLicense() // silentMojangMappingsLicense() // Only available in arch loom
} }
// Create testmod source set with access to main and client classpaths // Create testmod source set with access to main and client classpaths