Fix Forge 1.20.1 launching (although crashes due to shadowJar fail)
This commit is contained in:
+6
-4
@@ -1,3 +1,6 @@
|
|||||||
|
apply plugin: 'eclipse'
|
||||||
|
apply plugin: 'idea'
|
||||||
|
apply plugin: 'maven-publish'
|
||||||
apply plugin: 'net.minecraftforge.gradle'
|
apply plugin: 'net.minecraftforge.gradle'
|
||||||
apply plugin: 'org.spongepowered.mixin'
|
apply plugin: 'org.spongepowered.mixin'
|
||||||
|
|
||||||
@@ -49,6 +52,9 @@ apply plugin: 'org.spongepowered.mixin'
|
|||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
mappings channel: 'official', version: minecraft_version
|
mappings channel: 'official', version: minecraft_version
|
||||||
|
|
||||||
|
copyIdeResources = true
|
||||||
|
|
||||||
accessTransformer = project(":common").file('src/main/resources/META-INF/accesstransformer.cfg')
|
accessTransformer = project(":common").file('src/main/resources/META-INF/accesstransformer.cfg')
|
||||||
runs {
|
runs {
|
||||||
client {
|
client {
|
||||||
@@ -188,10 +194,6 @@ processResources {
|
|||||||
dependsOn(tasks.named('copyAllResources'))
|
dependsOn(tasks.named('copyAllResources'))
|
||||||
}
|
}
|
||||||
|
|
||||||
//processResources {
|
|
||||||
// dependsOn(tasks.named('copyAllResources'))
|
|
||||||
//}
|
|
||||||
|
|
||||||
//tasks.named('prepareClient') {
|
//tasks.named('prepareClient') {
|
||||||
// dependsOn(tasks.named('copyAllResources'))
|
// dependsOn(tasks.named('copyAllResources'))
|
||||||
// finalizedBy(deleteResources)
|
// finalizedBy(deleteResources)
|
||||||
|
|||||||
@@ -37,6 +37,10 @@ pluginManagement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
plugins {
|
||||||
|
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0'
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Loads the version.properties
|
// Loads the version.properties
|
||||||
|
|||||||
Reference in New Issue
Block a user