mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 19:25:20 -04:00
Fix oc_at.cfg
in obf environment.
This commit is contained in:
parent
886ebaae5e
commit
6a811b6471
19
build.gradle
19
build.gradle
@ -207,6 +207,15 @@ processResources {
|
|||||||
exclude 'mcmod.info'
|
exclude 'mcmod.info'
|
||||||
exclude 'application.conf'
|
exclude 'application.conf'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Move access transformer to META-INF
|
||||||
|
rename '(.+_at.cfg)', 'META-INF/$1'
|
||||||
|
}
|
||||||
|
|
||||||
|
def commonManifest = {
|
||||||
|
attributes FMLCorePlugin: "li.cil.oc.common.launch.TransformerLoader"
|
||||||
|
attributes FMLCorePluginContainsFMLMod: "true"
|
||||||
|
attributes FMLAT: "oc_at.cfg"
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
@ -218,10 +227,7 @@ jar {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
classifier = 'universal'
|
classifier = 'universal'
|
||||||
manifest {
|
manifest commonManifest
|
||||||
attributes FMLCorePlugin: "li.cil.oc.common.launch.TransformerLoader"
|
|
||||||
attributes FMLCorePluginContainsFMLMod: "true"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
javadoc {
|
javadoc {
|
||||||
@ -238,10 +244,7 @@ task deobfJar(type: Jar) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
classifier = 'dev'
|
classifier = 'dev'
|
||||||
manifest {
|
manifest commonManifest
|
||||||
attributes FMLCorePlugin: "li.cil.oc.common.launch.TransformerLoader"
|
|
||||||
attributes FMLCorePluginContainsFMLMod: "true"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
task apiJar(type: Jar) {
|
task apiJar(type: Jar) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user