12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- apply plugin: 'com.android.application'
- android {
- compileSdkVersion 24
- buildToolsVersion "25.0.2"
- defaultConfig {
- applicationId "io.github.sdlpal"
- minSdkVersion 10
- targetSdkVersion 12
- externalNativeBuild {
- ndkBuild {
- arguments "NDK_APPLICATION_MK:=src/main/cpp/Application.mk"
- abiFilters "armeabi-v7a", "x86"
- }
- }
- }
- buildTypes {
- release {
- minifyEnabled true
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
- }
- debug {
- jniDebuggable true
- externalNativeBuild {
- ndkBuild {
- cFlags "-DDEBUG", "-g"
- cppFlags "-DDEBUG", "-g"
- }
- }
- }
- }
- externalNativeBuild {
- ndkBuild {
- path 'src/main/cpp/Android.mk'
- }
- }
- sourceSets {
- main.java.srcDirs += 'src/main/java'
- }
- }
|