build.gradle 411 B

12345678910111213141516
  1. apply plugin: 'java'
  2. if (!hasProperty('mainClass')) {
  3. ext.mainClass = ''
  4. }
  5. dependencies {
  6. compile project(':jme3-core')
  7. compile project(':jme3-plugins')
  8. compileOnly 'android:android'
  9. }
  10. compileJava {
  11. // The Android-Native Project requires the jni headers to be generated, so we do that here
  12. options.compilerArgs += ["-h", "${project.rootDir}/jme3-android-native/src/native/headers"]
  13. }