build.gradle 889 B

12345678910111213141516171819202122232425262728293031323334353637
  1. apply plugin: 'com.android.model.application'
  2. model{
  3. android {
  4. compileSdkVersion 23
  5. buildToolsVersion "23.0.2"
  6. defaultConfig.with {
  7. applicationId = "com.onion.hellondk"
  8. minSdkVersion.apiLevel = 16
  9. targetSdkVersion.apiLevel = 23
  10. }
  11. dependencies {
  12. compile fileTree(dir: 'libs', include: ['*.jar'])
  13. testCompile 'junit:junit:4.12'
  14. compile 'com.android.support:appcompat-v7:23.+'
  15. compile 'com.android.support:design:23.+'
  16. }
  17. }
  18. android.ndk {
  19. moduleName = "hello-l2c"
  20. }
  21. android.buildTypes {
  22. release {
  23. minifyEnabled false
  24. proguardFiles.add(file('proguard-rules.txt'))
  25. }
  26. }
  27. /*android.productFlavors {
  28. create("x86-64") {
  29. ndk.abiFilters.add("x86_64")
  30. }
  31. }*/
  32. }