mirror of https://github.com/encounter/SDL.git
36 lines
977 B
Groovy
36 lines
977 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 25
|
|
buildToolsVersion "25.0.1"
|
|
defaultConfig {
|
|
applicationId "org.libsdl.app"
|
|
minSdkVersion 10
|
|
targetSdkVersion 16
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
sourceSets.main {
|
|
jniLibs.srcDir 'libs'
|
|
jni.srcDirs = [] //disable automatic ndk-build call
|
|
}
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
})
|
|
testCompile 'junit:junit:4.12'
|
|
}
|