Fixed mod not loading
This commit is contained in:
27
build.gradle
27
build.gradle
@@ -2,7 +2,7 @@ plugins {
|
||||
id "idea"
|
||||
id "eclipse"
|
||||
id "maven-publish"
|
||||
id "net.neoforged.moddev.legacyforge" version "2.0.74"
|
||||
id 'net.neoforged.moddev.legacyforge' version '2.0.78'
|
||||
id "org.jetbrains.gradle.plugin.idea-ext" version "1.1.8" // https://github.com/JetBrains/gradle-idea-ext-plugin
|
||||
id "net.darkhax.curseforgegradle" version "1.1.26"
|
||||
}
|
||||
@@ -45,8 +45,6 @@ legacyForge {
|
||||
|
||||
systemProperty 'mixin.debug.export', 'true'
|
||||
systemProperty 'mixin.debug.verbose', 'true'
|
||||
|
||||
programArgument '-mixin.config=ponder.mixins.json'
|
||||
}
|
||||
|
||||
client {
|
||||
@@ -77,8 +75,17 @@ legacyForge {
|
||||
// setForceExit false <- FIXME 1.20
|
||||
}
|
||||
}
|
||||
|
||||
mods {
|
||||
effortlessbuilding {
|
||||
sourceSet sourceSets.main
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Include resources generated by data generators.
|
||||
sourceSets.main.resources { srcDir 'src/generated/resources' }
|
||||
|
||||
repositories {
|
||||
maven { url = "https://maven.createmod.net" } // Ponder, Flywheel
|
||||
maven { url = "https://maven.tterrag.com" } // Registrate
|
||||
@@ -148,13 +155,13 @@ compileJava {
|
||||
jar {
|
||||
manifest {
|
||||
attributes([
|
||||
"Specification-Title": "effortlessbuilding",
|
||||
"Specification-Vendor": "requios",
|
||||
"Specification-Version": "1",
|
||||
"Implementation-Title": project.name,
|
||||
"Implementation-Version": project.jar.archiveVersion,
|
||||
"Implementation-Vendor" :"requios",
|
||||
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
|
||||
"Specification-Title" : mod_id,
|
||||
"Specification-Vendor" : mod_author,
|
||||
"Specification-Version" : "1",
|
||||
"Implementation-Title" : project.name,
|
||||
"Implementation-Version" : project.jar.archiveVersion,
|
||||
"Implementation-Vendor" : mod_author,
|
||||
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
|
||||
])
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user