change SDK build dependencies to make sure engine is copied before the SDK is built

experimental
Normen Hansen 11 years ago
parent edad5b57e3
commit 9877c83f92
  1. 4
      sdk/build.gradle

@ -332,7 +332,7 @@ task copyProjectLibs(dependsOn: configurations.corelibs) <<{
ant.properties['plugins.version'] = jmeVersion
ant.properties['app.version']= jmeMainVersion + jmeVersionSuffix
task buildSdk() <<{
task buildSdk(dependsOn: [copyBaseLibs, copyProjectLibs, createProjectXml, createBaseXml]) <<{
ant.ant(dir: ".", antfile: "build.xml", target: "build")
}
@ -340,7 +340,7 @@ task cleanSdk() <<{
ant.ant(dir: ".", antfile: "build.xml", target: "clean")
}
jar.dependsOn([copyBaseLibs, copyProjectLibs, createProjectXml, createBaseXml, buildSdk])
jar.dependsOn(buildSdk)
clean.dependsOn(cleanSdk);
//configurations {

Loading…
Cancel
Save