mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-12 03:47:34 +00:00
update buildscript
This commit is contained in:
2 files changed
+5
-2
No files matched your search
+3
-2
@@ -1,4 +1,4 @@
|
||||
//version: 1641429628falsepattern16
|
||||
//version: 1641429628falsepattern18
|
||||
/*
|
||||
DO NOT CHANGE THIS FILE!
|
||||
|
||||
@@ -95,6 +95,7 @@ checkPropertyExists("repositoryName")
|
||||
checkPropertyExists("mavenGroupId")
|
||||
checkPropertyExists("mavenArtifactId")
|
||||
checkPropertyExists("hasMixinDeps")
|
||||
checkPropertyExists("mixinPreinitConfig")
|
||||
|
||||
|
||||
String javaSourceDir = "src/main/java/"
|
||||
@@ -441,7 +442,7 @@ def getManifestAttributes() {
|
||||
if(usesMixins.toBoolean()) {
|
||||
manifestAttributes += [
|
||||
"TweakClass" : "org.spongepowered.asm.launch.MixinTweaker",
|
||||
"MixinConfigs" : "mixins." + modId + ".json",
|
||||
"MixinConfigs" : "mixins." + modId + ".json" + (mixinPreinitConfig ? "," + mixinPreinitConfig : ""),
|
||||
"ForceLoadAsMod" : containsMixinsAndOrCoreModOnly.toBoolean() == false
|
||||
]
|
||||
}
|
||||
|
||||
@@ -68,6 +68,8 @@ hasMixinDeps = false
|
||||
mixinPlugin =
|
||||
# Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
|
||||
mixinsPackage =
|
||||
# Specify a preinit mixin here. Preinit mixins should be used very rarely, if at all, so this mixin config will not be managed by the buildscript, only included.
|
||||
mixinPreinitConfig =
|
||||
# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
|
||||
# This parameter is for legacy compatability only
|
||||
# Example value: coreModClass = asm.FMLPlugin + modGroup = com.myname.mymodid -> com.myname.mymodid.asm.FMLPlugin
|
||||
|
||||
Reference in new issue
Block a user