Browse Source

- include SDK in gradle build
- add option to build natives / SDK to gradle properties
- update SDK properties file with jme version

Normen Hansen 11 years ago
parent
commit
15f5424ae8
1 changed files with 4 additions and 0 deletions
  1. 4 0
      build.gradle

+ 4 - 0
build.gradle

@@ -333,6 +333,10 @@ ant.properties['plugins.version'] = jmeVersion
 ant.properties['app.version']= jmeMainVersion + jmeVersionSuffix
 ant.properties['app.version']= jmeMainVersion + jmeVersionSuffix
 
 
 task buildSdk(dependsOn: [copyBaseLibs, copyProjectLibs, createProjectXml, createBaseXml]) <<{
 task buildSdk(dependsOn: [copyBaseLibs, copyProjectLibs, createProjectXml, createBaseXml]) <<{
+    ant.propertyfile(file: "nbproject/project.properties") {
+        entry( key: "plugins.version", value: "${jmeVersion}")
+        entry( key: "app.version", value: "${jmeMainVersion + jmeVersionSuffix}")
+    }
     ant.ant(dir: ".", antfile: "build.xml", target: "build")
     ant.ant(dir: ".", antfile: "build.xml", target: "build")
 }
 }