Fix sign jar. (#137)

This commit is contained in:
ZekerZhayard authored and GitHub committed 2021-01-04 15:29:34 +08:00
1 parent 1b2a4dc260
commit 5d736dd4b5
4 files changed
+4 -8

No files matched your search

-2
View File
@@ -1,6 +1,4 @@
archivesBaseName = "CustomSkinLoader_Fabric"
jar {
exclude 'customskinloader/tweaker/**'
exclude 'net/minecraft/client/renderer/RenderType.class'
+2 -4
View File
@@ -1,8 +1,4 @@
archivesBaseName = "CustomSkinLoader_Forge"
projectImplementation project(':Common')
jar {
manifest {
attributes([
@@ -14,6 +10,8 @@ jar {
exclude 'net/minecraftforge/**'
}
projectImplementation project(':Common')
minecraft {
clientJvmArgs += "-Dfml.coreMods.load=customskinloader.forge.ForgePlugin"
replaceIn 'ForgeMod.java'
-2
View File
@@ -1,6 +1,4 @@
archivesBaseName = rootProject.ext.config.name + "_" + config.minecraft_version
jar {
manifest {
attributes 'TweakClass' : 'customskinloader.tweaker.ModSystemTweaker'
+2
View File
@@ -94,6 +94,8 @@ subprojects {
// For real subprojects
if (!config.is_real_project || Boolean.parseBoolean(config.is_real_project.toString())) {
archivesBaseName = "CustomSkinLoader_${-> project.name.contains("Vanilla") ? config.minecraft_version : project.name }"
apply from: rootProject.file("BuildScripts/sources.gradle")
processResources {