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