build.gradle 474 B

1234567891011121314
  1. apply plugin: 'java'
  2. dependencies {
  3. //added annotations used by JmeSurfaceView.
  4. compileOnly 'androidx.annotation:annotation:1.3.0'
  5. compileOnly 'androidx.lifecycle:lifecycle-common:2.4.0'
  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. }