From c374fea7f3a65cba88a5b3e2fc807e654bba6f3e Mon Sep 17 00:00:00 2001 From: Normen Hansen Date: Mon, 24 Mar 2014 14:04:40 +0100 Subject: [PATCH] change android native build scripts to not execute tasks at configuration time --- jme3-android-native/openalsoft.gradle | 2 +- jme3-android-native/stb_image.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jme3-android-native/openalsoft.gradle b/jme3-android-native/openalsoft.gradle index 9ba68cbfd..30745f3a2 100644 --- a/jme3-android-native/openalsoft.gradle +++ b/jme3-android-native/openalsoft.gradle @@ -75,7 +75,7 @@ task copyJmeOpenALSoft(type: Copy, dependsOn:copyOpenALSoft) { jar.into("lib") { from openalsoftBuildDir + File.separator + 'libs' } -task generateOpenAlSoftHeaders(dependsOn:copyJmeOpenALSoft) { +task generateOpenAlSoftHeaders(dependsOn:copyJmeOpenALSoft) <<{ String destDir = openalsoftBuildDir + File.separator + 'jni' String classes = "" diff --git a/jme3-android-native/stb_image.gradle b/jme3-android-native/stb_image.gradle index 1b138820b..86aa94688 100644 --- a/jme3-android-native/stb_image.gradle +++ b/jme3-android-native/stb_image.gradle @@ -53,7 +53,7 @@ task copyStbiJmeFiles(type: Copy, dependsOn:copyStbiFiles) { jar.into("lib") { from stbiBuildDir + File.separator + 'libs' } -task generateStbiHeaders(dependsOn:copyStbiJmeFiles) { +task generateStbiHeaders(dependsOn:copyStbiJmeFiles) <<{ String destDir = stbiBuildDir + File.separator + 'jni' String classes = "" .concat("com.jme3.texture.plugins.AndroidNativeImageLoader, ")