Add refmap to built jar

This commit is contained in:
Matthew Messinger 2019-06-01 19:08:36 -04:00
parent cea3e11f05
commit f06e575381
4 changed files with 8 additions and 4 deletions

View file

@ -32,6 +32,10 @@ group = project.group
description = project.displayname description = project.displayname
archivesBaseName = project.name archivesBaseName = project.name
minecraft {
refmapName = 'minelp.mixin.refmap.json'
}
repositories { repositories {
maven { maven {
name = 'Jit' name = 'Jit'

View file

@ -19,4 +19,4 @@ org.gradle.daemon=false
# Dependencies # Dependencies
fabric_version=0.3.0+ fabric_version=0.3.0+
kirin_version=57995a8ac5 kirin_version=57995a8ac5
hd_skins_version=d77033e898 hd_skins_version=26667716ca

View file

@ -11,7 +11,7 @@
"homepage": "https://minelittlepony-mod.com/", "homepage": "https://minelittlepony-mod.com/",
"sources": "http://github.com/MineLittlePony/MineLittlePony" "sources": "http://github.com/MineLittlePony/MineLittlePony"
}, },
"license": "CC0-1.0", "license": "MIT",
"icon": "minelp_logo.png", "icon": "minelp_logo.png",
"environment": "client", "environment": "client",
"entrypoints": { "entrypoints": {

View file

@ -4,8 +4,8 @@
"package": "com.minelittlepony.client.mixin", "package": "com.minelittlepony.client.mixin",
"refmap": "minelp.mixin.refmap.json", "refmap": "minelp.mixin.refmap.json",
"compatibilityLevel": "JAVA_8", "compatibilityLevel": "JAVA_8",
"mixins": [ "client": [
"IResizeable", "IResizeable",
"MixinBlockEntityRenderDispatcher", "MixinBlockEntityRenderDispatcher",
"MixinDefaultPlayerSkin", "MixinDefaultPlayerSkin",
"MixinFirstPersonRenderer", "MixinFirstPersonRenderer",