Skip to content

Commit

Permalink
Disable source remapping entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed May 8, 2024
1 parent e33cfb5 commit cbe4dad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
@@ -1,5 +1,5 @@
plugins {
id("dev.deftu.gradle.preprocess-root") version "0.4.2"
id("io.github.gaming32.gradle.preprocess-root") version "0.4.4"
id("xyz.wagyourtail.unimined") version "1.2.4" apply false
}

Expand Down
5 changes: 1 addition & 4 deletions settings.gradle.kts
Expand Up @@ -9,13 +9,10 @@ pluginManagement {
maven("https://maven.jab125.dev/")
maven("https://maven.wagyourtail.xyz/snapshots")
maven("https://maven.wagyourtail.xyz/releases")
maven("https://maven.jemnetworks.com/releases")
gradlePluginPortal()
mavenCentral()
}

plugins {
id("dev.deftu.gradle.multiversion-root") version("1.18.0")
}
}

rootProject.name = "world-host"
Expand Down
4 changes: 3 additions & 1 deletion version.gradle.kts
Expand Up @@ -12,7 +12,7 @@ import java.nio.file.Path
plugins {
java
`maven-publish`
id("dev.deftu.gradle.preprocess")
id("io.github.gaming32.gradle.preprocess")
id("xyz.wagyourtail.unimined")
id("com.modrinth.minotaur") version "2.+"
}
Expand Down Expand Up @@ -286,6 +286,8 @@ tasks.compileJava {
preprocess {
fun Boolean.toInt() = if (this) 1 else 0

disableRemapping = true

vars.putAll(mapOf(
"FABRIC" to isFabric.toInt(),
"FORGE" to isForge.toInt(),
Expand Down

0 comments on commit cbe4dad

Please sign in to comment.