|
@@ -3,13 +3,6 @@
|
|
**/
|
|
**/
|
|
rootProject.name = 'jmonkeyengine'
|
|
rootProject.name = 'jmonkeyengine'
|
|
|
|
|
|
-/**
|
|
|
|
- * You can enable or disable different subprojects of the build here.
|
|
|
|
- *
|
|
|
|
- * The SDK will only be built if the appropriate library folders exist,
|
|
|
|
- * call the "prepareSdk" target to prepare building the SDK.
|
|
|
|
- **/
|
|
|
|
-
|
|
|
|
// Core classes, should work on all java platforms
|
|
// Core classes, should work on all java platforms
|
|
include 'jme3-core'
|
|
include 'jme3-core'
|
|
include 'jme3-effects'
|
|
include 'jme3-effects'
|
|
@@ -31,30 +24,16 @@ include 'jme3-android'
|
|
|
|
|
|
//native builds
|
|
//native builds
|
|
include 'jme3-bullet' //java
|
|
include 'jme3-bullet' //java
|
|
-include 'jme3-bullet-native' //cpp
|
|
|
|
-include 'jme3-android-native' //cpp
|
|
|
|
-
|
|
|
|
|
|
+if(buildNativeProjects){
|
|
|
|
+ include 'jme3-bullet-native' //cpp
|
|
|
|
+ include 'jme3-android-native' //cpp
|
|
|
|
+}
|
|
// Test Data project
|
|
// Test Data project
|
|
include 'jme3-testdata'
|
|
include 'jme3-testdata'
|
|
|
|
|
|
// Example projects
|
|
// Example projects
|
|
include 'jme3-examples'
|
|
include 'jme3-examples'
|
|
|
|
|
|
-//include 'sdk'
|
|
|
|
-
|
|
|
|
-// Find the directories containing a 'build.gradle' file in the root directory
|
|
|
|
-// of the project. That is, every directory containing a 'build.gradle' will
|
|
|
|
-// be automatically the subproject of this project.
|
|
|
|
-/*def subDirs = rootDir.listFiles(new FileFilter() {
|
|
|
|
- public boolean accept(File file) {
|
|
|
|
- if (!file.isDirectory()) {
|
|
|
|
- return false
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- return new File(file, 'build.gradle').isFile()
|
|
|
|
- }
|
|
|
|
-});
|
|
|
|
-
|
|
|
|
-subDirs.each { File dir ->
|
|
|
|
- include dir.name
|
|
|
|
-}*/
|
|
|
|
|
|
+if(buildSdkProject){
|
|
|
|
+ include 'sdk'
|
|
|
|
+}
|