Skip to content

Commit

Permalink
disable MPO, which fixes remapping
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysdh540 committed Sep 5, 2024
1 parent e9c6000 commit 908bf10
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
11 changes: 7 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import java.util.zip.Deflater

plugins {
java
id("architectury-plugin") version "3.4.155" apply false
id("dev.architectury.loom") version "1.7.412" apply false
id("architectury-plugin") version "3.4.159" apply false
id("dev.architectury.loom") version "1.6.411" apply false
id("com.github.johnrengelman.shadow") version "8.1.1" apply false
}

Expand Down Expand Up @@ -138,11 +138,14 @@ subprojects {
}

tasks.processResources {
val build = buildNumber?.let { "-build.${it}" } ?: ""
// include packs
from(project(":common").file("src/main/resources")) {
include("resourcepacks/")
}

// set up properties for filling into metadata
val properties = mapOf(
"version" to "mod_version"() + (if (isRelease) "" else build),
"version" to "mod_version"(),
"minecraft_version" to "minecraft_version"(),
"fabric_api_version" to "fabric_api_version"(),
"fabric_loader_version" to "fabric_loader_version"(),
Expand Down
3 changes: 1 addition & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ org.gradle.parallel = true
org.gradle.caching = true

fabric.loom.disableProjectDependentMods = true
fabric.loom.multiProjectOptimisation = true

## Mod Info
archives_base_name = interiors
mod_version=0.5.5
mod_version=0.5.6
maven_group = com.sudolev

mixin_extras_version = 0.3.5
Expand Down

0 comments on commit 908bf10

Please sign in to comment.