build.gradle 507 B

123456789101112131415
  1. apply plugin: 'java'
  2. dependencies {
  3. //added annotations used by JmeSurfaceView.
  4. compileOnly 'androidx.annotation:annotation:1.2.0'
  5. compileOnly 'androidx.lifecycle:lifecycle-common:2.1.0'
  6. api project(':jme3-core')
  7. api 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. }