mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 08:14:23 +01:00
Gradle pls x2
This commit is contained in:
parent
981da8267f
commit
fb381a0792
1 changed files with 9 additions and 12 deletions
21
build.gradle
21
build.gradle
|
@ -45,9 +45,6 @@ if (project.release == 'SNAPSHOT') {
|
||||||
group = project.group
|
group = project.group
|
||||||
description = project.displayname
|
description = project.displayname
|
||||||
|
|
||||||
targetCompatibility = 1.8
|
|
||||||
sourceCompatibility = 1.8
|
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
version = project.minecraft_version
|
version = project.minecraft_version
|
||||||
mappings = project.mappings_version
|
mappings = project.mappings_version
|
||||||
|
@ -55,6 +52,12 @@ minecraft {
|
||||||
replace '@VERSION@', project.version
|
replace '@VERSION@', project.version
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mixin {
|
||||||
|
defaultObfuscationEnv notch
|
||||||
|
}
|
||||||
|
|
||||||
|
targetCompatibility = 1.8
|
||||||
|
sourceCompatibility = 1.8
|
||||||
sourceSets {
|
sourceSets {
|
||||||
hdskins {
|
hdskins {
|
||||||
compileClasspath += main.compileClasspath
|
compileClasspath += main.compileClasspath
|
||||||
|
@ -101,8 +104,9 @@ jar {
|
||||||
classifier 'base'
|
classifier 'base'
|
||||||
extension 'jar'
|
extension 'jar'
|
||||||
}
|
}
|
||||||
|
jar.enabled = false
|
||||||
|
|
||||||
archivesBasename = "mod-${project.name.toLowerCase()}"
|
archivesBaseName = "mod-${project.name.toLowerCase()}"
|
||||||
|
|
||||||
shadowJar {
|
shadowJar {
|
||||||
extension 'litemod'
|
extension 'litemod'
|
||||||
|
@ -140,10 +144,6 @@ task skinZip(type: Zip) {
|
||||||
version 'v1'
|
version 'v1'
|
||||||
}
|
}
|
||||||
|
|
||||||
artifacts {
|
|
||||||
archives shadowJar
|
|
||||||
}
|
|
||||||
|
|
||||||
reobf {
|
reobf {
|
||||||
srgJar {
|
srgJar {
|
||||||
mappingType = 'SEARGE'
|
mappingType = 'SEARGE'
|
||||||
|
@ -151,10 +151,7 @@ reobf {
|
||||||
|
|
||||||
shadowJar{}
|
shadowJar{}
|
||||||
}
|
}
|
||||||
|
reobf.jar.task.enabled = false
|
||||||
mixin {
|
|
||||||
defaultObfuscationEnv notch
|
|
||||||
}
|
|
||||||
|
|
||||||
// windows only
|
// windows only
|
||||||
task deploy(type: Copy, dependsOn: build) {
|
task deploy(type: Copy, dependsOn: build) {
|
||||||
|
|
Loading…
Reference in a new issue