build.gradle 447 B

1234567891011121314
  1. apply plugin: 'java'
  2. dependencies {
  3. //added annotations used by JmeSurfaceView.
  4. compileOnly libs.androidx.annotation
  5. compileOnly libs.androidx.lifecycle.common
  6. api project(':jme3-core')
  7. compileOnly 'android:android'
  8. }
  9. compileJava {
  10. // The Android-Native Project requires the jni headers to be generated, so we do that here
  11. options.compilerArgs += ["-h", "${project.rootDir}/jme3-android-native/src/native/headers"]
  12. }