Clean up version and build for Forge
This commit is contained in:
parent
179bf0098e
commit
a7b2825e4c
10 changed files with 20 additions and 13 deletions
|
|
@ -16,7 +16,6 @@ apply plugin: 'net.minecraftforge.gradle.forge'
|
|||
apply plugin: 'com.github.johnrengelman.shadow'
|
||||
|
||||
dependencies {
|
||||
compile project(path: ":DynmapCoreAPI", configuration: "shadow")
|
||||
compile project(path: ":DynmapCore", configuration: "shadow")
|
||||
}
|
||||
|
||||
|
|
@ -34,6 +33,9 @@ minecraft {
|
|||
version = "1.9.4-12.17.0.2051"
|
||||
mappings = "snapshot_20160522"
|
||||
runDir = 'run'
|
||||
replaceIn "Version.java"
|
||||
replace "@VERSION@", project.version + '-' + project.ext.buildNumber
|
||||
replace "@BUILD_NUMBER@", project.ext.buildNumber
|
||||
}
|
||||
|
||||
project.archivesBaseName = "${project.archivesBaseName}-forge-1.9.4"
|
||||
|
|
@ -62,7 +64,6 @@ processResources
|
|||
shadowJar {
|
||||
dependencies {
|
||||
include(dependency(':DynmapCore'))
|
||||
include(dependency(':DynmapCoreAPI'))
|
||||
}
|
||||
archiveName = "Dynmap-${parent.version}-forge-1.9.4.jar"
|
||||
destinationDir = file '../target'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue