Fix Forge 1.20.1 launching (although crashes due to shadowJar fail)

This commit is contained in:
James Seibel
2024-01-20 11:12:08 -06:00
parent 9a8f14c7d3
commit 1d89467022
2 changed files with 10 additions and 4 deletions
+6 -4
View File
@@ -1,3 +1,6 @@
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'maven-publish'
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'org.spongepowered.mixin'
@@ -49,6 +52,9 @@ apply plugin: 'org.spongepowered.mixin'
minecraft {
mappings channel: 'official', version: minecraft_version
copyIdeResources = true
accessTransformer = project(":common").file('src/main/resources/META-INF/accesstransformer.cfg')
runs {
client {
@@ -188,10 +194,6 @@ processResources {
dependsOn(tasks.named('copyAllResources'))
}
//processResources {
// dependsOn(tasks.named('copyAllResources'))
//}
//tasks.named('prepareClient') {
// dependsOn(tasks.named('copyAllResources'))
// finalizedBy(deleteResources)
+4
View File
@@ -37,6 +37,10 @@ pluginManagement {
}
}
plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0'
}
// Loads the version.properties