mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 08:14:23 +01:00
Try to fix gradle
This commit is contained in:
parent
46bc7fb0cd
commit
5afee683b2
1 changed files with 1 additions and 22 deletions
23
build.gradle
23
build.gradle
|
@ -52,6 +52,7 @@ if (project.release == 'SNAPSHOT') {
|
||||||
|
|
||||||
group = project.group
|
group = project.group
|
||||||
description = project.displayname
|
description = project.displayname
|
||||||
|
archivesBaseName = project.name
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
version = project.minecraft_version
|
version = project.minecraft_version
|
||||||
|
@ -83,8 +84,6 @@ mixin {
|
||||||
defaultObfuscationEnv notch
|
defaultObfuscationEnv notch
|
||||||
}
|
}
|
||||||
|
|
||||||
targetCompatibility = 1.8
|
|
||||||
sourceCompatibility = 1.8
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
common {
|
common {
|
||||||
// code shared between HDSkins and MineLP mods
|
// code shared between HDSkins and MineLP mods
|
||||||
|
@ -156,26 +155,6 @@ manifest {
|
||||||
attributes 'Implementation-Version': "${project.version} (git-${project.hash})"
|
attributes 'Implementation-Version': "${project.version} (git-${project.hash})"
|
||||||
}
|
}
|
||||||
|
|
||||||
litemod.json {
|
|
||||||
mcversion = project.minecraft_version
|
|
||||||
displayName = project.displayname
|
|
||||||
author = project.authors
|
|
||||||
revision = project.revision
|
|
||||||
description = project.description
|
|
||||||
description.minelittlepony = project.description_mlp
|
|
||||||
description.hdskinsmod = project.description_hd
|
|
||||||
mixinConfigs += [
|
|
||||||
'minelp.mixin.json',
|
|
||||||
'hdskins.mixin.json'
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
archivesBaseName = "mod-${project.name.toLowerCase()}"
|
|
||||||
|
|
||||||
afterEvaluate {
|
|
||||||
file('build.number').delete()
|
|
||||||
}
|
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
from sourceSets.common.output
|
from sourceSets.common.output
|
||||||
from sourceSets.main.output
|
from sourceSets.main.output
|
||||||
|
|
Loading…
Reference in a new issue