Revert "Add JVM Downgrader (DH now uses Java version Ω)"

This reverts commit af6dca6e5e.
This commit is contained in:
James Seibel
2024-05-21 07:45:33 -05:00
parent ff6a5aae69
commit 5991aa42d9
5 changed files with 6 additions and 33 deletions
-19
View File
@@ -12,8 +12,6 @@ plugins {
// Architectury is used here only as a replacement for forge's own loom
id "dev.architectury.loom" version "1.6-SNAPSHOT" apply false
id 'xyz.wagyourtail.jvmdowngrader' version '0.4.0' apply true
}
@@ -104,7 +102,6 @@ subprojects { p ->
// Apply plugins
apply plugin: "java"
apply plugin: "com.github.johnrengelman.shadow"
apply plugin: "xyz.wagyourtail.jvmdowngrader"
if (isMinecraftSubProject)
apply plugin: "systems.manifold.manifold-gradle-plugin"
@@ -316,22 +313,6 @@ subprojects { p ->
// Using jar.finalizedBy(shadowJar) causes issues so we do this scuffed bypass
jar.dependsOn(shadowJar)
// For downgrading our project to Java 8
if (isMinecraftSubProject) {
task jarDowngrade(type: xyz.wagyourtail.jvmdg.gradle.task.DowngradeJar) {
inputFile = tasks.shadowJar.archiveFile
archiveClassifier = "downgraded-8"
}
task apiDowngrade(type: xyz.wagyourtail.jvmdg.gradle.task.ShadeAPI) {
inputFile = jarDowngrade.archiveFile
archiveClassifier = "downgraded-8-shaded"
}
// We're using a custom downgrade task so we disable the original downgrade tasks
downgradeJar.enabled = false
shadeDowngradedApi.enabled = false
}
// Put stuff from gradle.properties into the mod info
processResources {