diff --git a/build.gradle.kts b/build.gradle.kts index 3b97ccc..a7d264e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,6 +1,8 @@ plugins { id("io.github.gaming32.gradle.preprocess-root") version "0.4.4" id("dev.architectury.loom") version "1.7.414" apply false + id("com.modrinth.minotaur") version "2.8.7" apply false + id("xyz.wagyourtail.jvmdowngrader") version "1.1.2" apply false } repositories { diff --git a/version.gradle.kts b/version.gradle.kts index 4f657eb..3b46c95 100644 --- a/version.gradle.kts +++ b/version.gradle.kts @@ -5,14 +5,8 @@ plugins { `maven-publish` id("io.github.gaming32.gradle.preprocess") id("dev.architectury.loom") - id("com.modrinth.minotaur") version "2.8.7" - id("xyz.wagyourtail.jvmdowngrader") version "1.1.2" -} - -buildscript { - dependencies { - classpath("org.apache.commons:commons-compress:1.26.1") - } + id("com.modrinth.minotaur") + id("xyz.wagyourtail.jvmdowngrader") } group = "io.github.gaming32" @@ -76,7 +70,7 @@ if (targetJava < java.sourceCompatibility) { tasks.remapJar { dependsOn(tasks.shadeDowngradedApi) - inputFile = tasks.shadeDowngradedApi.get().inputFile + inputFile = tasks.shadeDowngradedApi.get().archiveFile } }