mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Gradle is such a piece of c%@(
This commit is contained in:
parent
f798900020
commit
4e1e2f5829
2 changed files with 11 additions and 11 deletions
20
build.gradle
20
build.gradle
|
@ -26,7 +26,7 @@ def ver = "${project.mcVersion}.${project.buildVersion}-${project.buildType}"
|
||||||
|
|
||||||
version = ver
|
version = ver
|
||||||
group = project.group
|
group = project.group
|
||||||
description = project.name
|
description = project.description
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
version = project.mcVersion + '-' + project.mcfVersion
|
version = project.mcVersion + '-' + project.mcfVersion
|
||||||
|
@ -53,7 +53,7 @@ sourceSets {
|
||||||
}
|
}
|
||||||
main {
|
main {
|
||||||
compileClasspath += external.output
|
compileClasspath += external.output
|
||||||
refMap = project.refCore
|
ext.refMap = project.refCore
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,23 +66,23 @@ dependencies {
|
||||||
deobfCompile('com.minelittlepony:jumpingcastle:1.12.2.1.0.0:universal')
|
deobfCompile('com.minelittlepony:jumpingcastle:1.12.2.1.0.0:universal')
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
processResources {
|
||||||
def props = [
|
def props = [
|
||||||
modid: project.modid,
|
modid: project.modid,
|
||||||
name: project.name,
|
name: project.title,
|
||||||
description: project.description,
|
description: project.description,
|
||||||
version: ver,
|
version: ver,
|
||||||
revision: project.buildRevision,
|
revision: project.buildRevision,
|
||||||
mcversion: project.mcVersion,
|
mcversion: project.mcVersion,
|
||||||
author: project.author
|
author: project.author
|
||||||
]
|
]
|
||||||
inputs.properties props
|
|
||||||
|
from(sourceSets.main.resources.srcDirs) {
|
||||||
from(sourceSets.main.output) {
|
|
||||||
exclude 'mcmod.info'
|
|
||||||
}
|
|
||||||
from(sourceSets.main.output) {
|
|
||||||
include 'mcmod.info'
|
include 'mcmod.info'
|
||||||
expand props
|
expand props
|
||||||
}
|
}
|
||||||
|
|
||||||
|
from(sourceSets.main.resources.srcDirs) {
|
||||||
|
exclude 'mcmod.info'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
modid=unicopia
|
modid=unicopia
|
||||||
name=Unicopia Redux
|
title=Unicopia Redux
|
||||||
group=com.minelittlepony.unicopia
|
group=com.minelittlepony.unicopia
|
||||||
author=Sollace
|
author=Sollace
|
||||||
description=Magical Abilities for Mine Little Pony!
|
description=Magical Abilities for Mine Little Pony!
|
||||||
|
|
Loading…
Reference in a new issue