2017-10-24 00:23:43 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2017-10-24 08:23:47 +02:00
|
|
|
compileSdkVersion 16
|
|
|
|
buildToolsVersion "26.0.1"
|
2017-10-24 00:23:43 +02:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "org.libsdl.app"
|
2017-10-24 08:23:47 +02:00
|
|
|
minSdkVersion 14
|
2017-10-24 00:23:43 +02:00
|
|
|
targetSdkVersion 16
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
2017-10-24 08:23:47 +02:00
|
|
|
externalNativeBuild {
|
|
|
|
ndkBuild {
|
|
|
|
arguments "APP_PLATFORM=android-14"
|
|
|
|
}
|
|
|
|
}
|
2017-10-24 00:23:43 +02: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 08:23:47 +02:00
|
|
|
}
|
|
|
|
externalNativeBuild {
|
|
|
|
ndkBuild {
|
|
|
|
path 'jni/Android.mk'
|
|
|
|
}
|
2017-10-24 00:23:43 +02:00
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-10-24 08:23:47 +02:00
|
|
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
2017-10-24 00:23:43 +02: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'
|
|
|
|
}
|