change SDK build dependencies to make sure engine is copied before the SDK is built
This commit is contained in:
parent
edad5b57e3
commit
9877c83f92
@ -332,7 +332,7 @@ task copyProjectLibs(dependsOn: configurations.corelibs) <<{
|
|||||||
ant.properties['plugins.version'] = jmeVersion
|
ant.properties['plugins.version'] = jmeVersion
|
||||||
ant.properties['app.version']= jmeMainVersion + jmeVersionSuffix
|
ant.properties['app.version']= jmeMainVersion + jmeVersionSuffix
|
||||||
|
|
||||||
task buildSdk() <<{
|
task buildSdk(dependsOn: [copyBaseLibs, copyProjectLibs, createProjectXml, createBaseXml]) <<{
|
||||||
ant.ant(dir: ".", antfile: "build.xml", target: "build")
|
ant.ant(dir: ".", antfile: "build.xml", target: "build")
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -340,7 +340,7 @@ task cleanSdk() <<{
|
|||||||
ant.ant(dir: ".", antfile: "build.xml", target: "clean")
|
ant.ant(dir: ".", antfile: "build.xml", target: "clean")
|
||||||
}
|
}
|
||||||
|
|
||||||
jar.dependsOn([copyBaseLibs, copyProjectLibs, createProjectXml, createBaseXml, buildSdk])
|
jar.dependsOn(buildSdk)
|
||||||
clean.dependsOn(cleanSdk);
|
clean.dependsOn(cleanSdk);
|
||||||
|
|
||||||
//configurations {
|
//configurations {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user