build.gradle 771 B

12345678910111213141516171819202122232425262728293031323334
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 24
  4. buildToolsVersion "25.0.2"
  5. defaultConfig {
  6. applicationId "io.github.sdlpal"
  7. minSdkVersion 10
  8. targetSdkVersion 12
  9. externalNativeBuild {
  10. ndkBuild {
  11. arguments "NDK_APPLICATION_MK:=../jni/Application.mk"
  12. abiFilters "armeabi-v7a", "x86"
  13. }
  14. }
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
  20. }
  21. }
  22. externalNativeBuild {
  23. ndkBuild {
  24. path '../jni/Android.mk'
  25. }
  26. }
  27. sourceSets {
  28. main.java.srcDirs += 'src/main/java'
  29. }
  30. }