Temporary workaround for #14 Provide a searge jar for use with forge. You can also dev with it if you want.

This commit is contained in:
Matthew Messinger 2016-07-19 19:11:06 -04:00
parent c4e7213fc9
commit 3390fc8a57
2 changed files with 15 additions and 3 deletions

View file

@ -26,7 +26,7 @@ apply plugin: 'org.spongepowered.mixin'
apply plugin: 'mnm.gradle.ap-ide' apply plugin: 'mnm.gradle.ap-ide'
group = 'com.brohoof.minelp' group = 'com.brohoof.minelp'
version = '1.10.2.0' version = '1.10.2.1'
description = 'Mine Little Pony' description = 'Mine Little Pony'
minecraft { minecraft {
@ -76,6 +76,18 @@ jar {
from sourceSets.findAll { it.name != 'api' }*.output from sourceSets.findAll { it.name != 'api' }*.output
from litemod.outputs from litemod.outputs
} }
task srgJar(type: Jar) {
from sourceSets.findAll { it.name != 'api' }*.output
from litemod.outputs
classifier "mc${minecraft.version}-srg"
baseName "mod-${project.name.toLowerCase()}"
extension 'litemod'
}
reobf {
srgJar {
mappingType = 'SEARGE'
}
}
mixin { mixin {
defaultObfuscationEnv notch defaultObfuscationEnv notch
} }

View file

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit! #Build Number for ANT. Do not edit!
#Wed Jul 13 23:01:09 EDT 2016 #Tue Jul 19 19:10:31 EDT 2016
build.number=233 build.number=243