diff --git a/build.gradle.kts b/build.gradle.kts index ea462ed..1e991c2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -12,7 +12,7 @@ plugins { id("org.polyfrost.defaults.java") id("org.polyfrost.defaults.loom") id("com.github.johnrengelman.shadow") - id("net.kyori.blossom") version "1.3.1" + id("net.kyori.blossom") version "1.3.2" id("signing") java } @@ -23,10 +23,6 @@ val mod_version: String by project val mod_id: String by project val mod_archives_name: String by project -// Sets up the variables for when we preprocess to other Minecraft versions. -preprocess { - vars.put("MODERN", if (project.platform.mcMinor >= 16) 1 else 0) -} // Replaces the variables in `ExampleMod.java` to the ones specified in `gradle.properties`. blossom { @@ -95,9 +91,9 @@ repositories { // Configures the libraries/dependencies for your mod. dependencies { // Adds the OneConfig library, so we can develop with it. - modCompileOnly("cc.polyfrost:oneconfig-$platform:0.2.1-alpha+") + modCompileOnly("cc.polyfrost:oneconfig-$platform:0.2.2-alpha+") - modRuntimeOnly("me.djtheredstoner:DevAuth-${if (platform.isFabric) "fabric" else if (platform.isLegacyForge) "forge-legacy" else "forge-latest"}:1.1.2") + modRuntimeOnly("me.djtheredstoner:DevAuth-${if (platform.isFabric) "fabric" else if (platform.isLegacyForge) "forge-legacy" else "forge-latest"}:1.2.0") // If we are building for legacy forge, includes the launch wrapper with `shade` as we configured earlier. if (platform.isLegacyForge) { diff --git a/gradle.properties b/gradle.properties index 865b155..3a93d44 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,10 +1,10 @@ mod_name = GlintColorizer mod_id = glintcolorizer -mod_version = 1.1.2 +mod_version = 2.0.0 mod_archives_name = GlintColorizer # Gradle Configuration -- DO NOT TOUCH THESE VALUES. -polyfrost.defaults.loom=1 +polyfrost.defaults.loom=3 org.gradle.daemon=true org.gradle.parallel=true org.gradle.configureoncommand=true diff --git a/root.gradle.kts b/root.gradle.kts index 14f143c..e490f41 100644 --- a/root.gradle.kts +++ b/root.gradle.kts @@ -1,7 +1,7 @@ plugins { - kotlin("jvm") version "1.8.22" apply false + kotlin("jvm") version "1.9.10" apply false id("org.polyfrost.multi-version.root") - id("com.github.johnrengelman.shadow") version "7.1.2" apply false + id("com.github.johnrengelman.shadow") version "8.1.1" apply false } preprocess { diff --git a/settings.gradle.kts b/settings.gradle.kts index 2c255f2..325fae4 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -7,7 +7,7 @@ pluginManagement { maven("https://repo.polyfrost.org/releases") // Adds the Polyfrost maven repository to get Polyfrost Gradle Toolkit } plugins { - val pgtVersion = "0.2.9" // Sets the default versions for Polyfrost Gradle Toolkit + val pgtVersion = "0.6.2" // Sets the default versions for Polyfrost Gradle Toolkit id("org.polyfrost.multi-version.root") version pgtVersion } }