| apply plugin: 'com.android.application' |
| |
| android { |
| compileSdkVersion 16 |
| buildToolsVersion "26.0.1" |
| defaultConfig { |
| applicationId "org.libsdl.app" |
| minSdkVersion 14 |
| targetSdkVersion 16 |
| versionCode 1 |
| versionName "1.0" |
| externalNativeBuild { |
| ndkBuild { |
| arguments "APP_PLATFORM=android-14" |
| } |
| } |
| testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" |
| } |
| buildTypes { |
| release { |
| minifyEnabled false |
| proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
| } |
| } |
| sourceSets.main { |
| jniLibs.srcDir 'libs' |
| } |
| externalNativeBuild { |
| ndkBuild { |
| path 'jni/Android.mk' |
| } |
| } |
| lintOptions { |
| abortOnError false |
| } |
| } |
| |
| dependencies { |
| compile fileTree(include: ['*.jar'], dir: 'libs') |
| androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { |
| exclude group: 'com.android.support', module: 'support-annotations' |
| }) |
| testCompile 'junit:junit:4.12' |
| } |