build.gradle 515 B

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