Skip to content

Commit

Permalink
Make downgrading work
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed Nov 7, 2024
1 parent 0c329ef commit e3ec28d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
12 changes: 3 additions & 9 deletions version.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -76,7 +70,7 @@ if (targetJava < java.sourceCompatibility) {

tasks.remapJar {
dependsOn(tasks.shadeDowngradedApi)
inputFile = tasks.shadeDowngradedApi.get().inputFile
inputFile = tasks.shadeDowngradedApi.get().archiveFile
}
}

Expand Down

0 comments on commit e3ec28d

Please sign in to comment.