From 58aed8be237f52fcef502e02d0cdbc3281a6027b Mon Sep 17 00:00:00 2001 From: Kirill Vainer Date: Mon, 4 May 2015 21:49:31 -0400 Subject: [PATCH] Gradle: dont build android examples by default --- gradle.properties | 1 + settings.gradle | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index ccc3ed460..a00139bdf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,6 +11,7 @@ buildJavaDoc = true # specify if SDK and Native libraries get built buildSdkProject = true buildNativeProjects = false +buildAndroidExamples = false # Path to android NDK for building native libraries #ndkPath=/Users/normenhansen/Documents/Code-Import/android-ndk-r7 diff --git a/settings.gradle b/settings.gradle index 80d932d64..89b8fc075 100644 --- a/settings.gradle +++ b/settings.gradle @@ -34,7 +34,10 @@ include 'jme3-testdata' // Example projects include 'jme3-examples' -include 'jme3-android-examples' + +if(buildAndroidExamples == "true"){ + include 'jme3-android-examples' +} if(buildSdkProject == "true"){ include 'sdk'