Skip to content

Commit

Permalink
loom fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP committed Feb 17, 2024
1 parent 6d4718d commit 88f2d9c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ boolean isPreviewBuild = !ENV.TAG || ENV.TAG.matches(".+-.+")
def buildNumber = !ENV.TAG ? ("${ENV.BUILD_NUMBER ? "build.${ENV.BUILD_NUMBER}" : buildTime}-${libs.versions.minecraft.get()}") : ""
version = (ENV.TAG ?: "development") + ((isPreviewBuild && !ENV.TAG) ? "+${buildNumber}" : "")

// messy workaround for bug in quilt loom 1.3.3
// messy workaround for bug in quilt loom 1.3.3+
project.configurations.configureEach {
exclude(group: "net.fabricmc", module: "fabric-loader")
exclude(group: "net.fabricmc.fabric-api")
Expand Down Expand Up @@ -75,7 +75,13 @@ dependencies {
}

loom {
accessWidenerPath = file("src/main/resources/arcanus.accesswidener")
mods {
"arcanus" {
// Tell Loom about each source set used by your mod here. This ensures that your mod's classes are properly transformed by Loader.
sourceSet("main")
}
}
accessWidenerPath.set(file("src/main/resources/arcanus.accesswidener"))
}

processResources {
Expand Down

0 comments on commit 88f2d9c

Please sign in to comment.