mirror of
https://github.com/LegacyModdingMC/UniMixins.git
synced 2026-10-25 20:32:33 +00:00
Mixingasm seems to work now
This commit is contained in:
1 parent
46a5c6d167
commit
2409b246b3
4 files changed
+29
-8
No files matched your search
@@ -282,6 +282,23 @@ flavors.each {
|
||||
}
|
||||
}
|
||||
|
||||
// Set outgoing artifact so Mixingasm module can depend on it
|
||||
configurations {
|
||||
unimix {
|
||||
canBeConsumed = true
|
||||
canBeResolved = false
|
||||
|
||||
attributes {
|
||||
// Needed to avoid an error
|
||||
attribute(Attribute.of("unique.thingy", String), "unimix jar")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
artifacts {
|
||||
unimix(tasks."shadowJarUnimix")
|
||||
}
|
||||
|
||||
// Obfuscation is useless because we're not compiling code referencing Minecraft classes
|
||||
reobfJar.enabled = false
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
apply from: "${rootDir}/module-conventions.gradle"
|
||||
|
||||
dependencies {
|
||||
compile project(":module-mixin")
|
||||
compile files(tasks.getByPath(":module-mixin:shadowJarUnimix").getOutputs().getFiles().getSingleFile())
|
||||
implementation project(path: ":module-mixin", configuration: 'unimix')
|
||||
shadow(project(":module-common")) {
|
||||
transitive = false
|
||||
}
|
||||
@@ -11,7 +12,7 @@ archivesBaseName = archivesBaseName.replace("-1.7.10", "-mixingasm-1.7.10")
|
||||
apply plugin: "com.github.johnrengelman.shadow"
|
||||
|
||||
shadowJar {
|
||||
classifier = ''
|
||||
archiveClassifier = ''
|
||||
configurations = [project.configurations.shadow]
|
||||
|
||||
relocate 'io.github.legacymoddingmc.unimixins.common', 'io.github.legacymoddingmc.unimixins.mixingasm.repackage.common'
|
||||
@@ -32,9 +33,11 @@ jar {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
reobfJar.enabled = false
|
||||
|
||||
ext.uniVersion = version
|
||||
version += "+" + ext.extraVersion
|
||||
|
||||
minecraft {
|
||||
replace("@VERSION@", extraVersion)
|
||||
tasks.injectTags.configure {
|
||||
outputClassName.set("io.github.legacymoddingmc.unimixins.mixingasm.Tags")
|
||||
}
|
||||
@@ -1,10 +1,11 @@
|
||||
package makamys.mixingasm.forge;
|
||||
|
||||
import cpw.mods.fml.common.Mod;
|
||||
import io.github.legacymoddingmc.unimixins.mixingasm.Tags;
|
||||
import makamys.mixingasm.Mixingasm;
|
||||
|
||||
@Mod(modid = Mixingasm.MODID, version = "@VERSION@", acceptableRemoteVersions = "*")
|
||||
@net.minecraftforge.fml.common.Mod(modid = Mixingasm.MODID, version = "@VERSION@", acceptableRemoteVersions = "*")
|
||||
@Mod(modid = Mixingasm.MODID, version = Tags.VERSION, acceptableRemoteVersions = "*")
|
||||
@net.minecraftforge.fml.common.Mod(modid = Mixingasm.MODID, version = Tags.VERSION, acceptableRemoteVersions = "*")
|
||||
public class MixingasmMod {
|
||||
|
||||
}
|
||||
+1
-1
@@ -19,7 +19,7 @@ pluginManagement {
|
||||
include 'module-mixin'
|
||||
// include 'module-compat'
|
||||
// include 'module-devcompat'
|
||||
// include 'module-mixingasm'
|
||||
include 'module-mixingasm'
|
||||
// include 'module-spongemixins'
|
||||
// include 'module-mixinbooterlegacy'
|
||||
// include 'module-gasstation'
|
||||
|
||||
Reference in new issue
Block a user