diff --git a/build.gradle.kts b/build.gradle.kts index 4282c68..b9ccd5d 100644 --- a/build.gradle.kts +++ b/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 } diff --git a/settings.gradle.kts b/settings.gradle.kts index fdc6bdd..78db8a7 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -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" diff --git a/version.gradle.kts b/version.gradle.kts index 048ad7f..c49a9bf 100644 --- a/version.gradle.kts +++ b/version.gradle.kts @@ -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.+" } @@ -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(),