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.10.2-12.18.3.2316"
|
||||
mappings = "snapshot_20160922"
|
||||
runDir = 'run'
|
||||
replaceIn "Version.java"
|
||||
replace "@VERSION@", project.version + '-' + project.ext.buildNumber
|
||||
replace "@BUILD_NUMBER@", project.ext.buildNumber
|
||||
}
|
||||
|
||||
project.archivesBaseName = "${project.archivesBaseName}-forge-1.10.2"
|
||||
|
|
@ -62,7 +64,6 @@ processResources
|
|||
shadowJar {
|
||||
dependencies {
|
||||
include(dependency(':DynmapCore'))
|
||||
include(dependency(':DynmapCoreAPI'))
|
||||
}
|
||||
archiveName = "Dynmap-${parent.version}-forge-1.10.2.jar"
|
||||
destinationDir = file '../target'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue