70 lines
1.9 KiB
Groovy
70 lines
1.9 KiB
Groovy
|
apply plugin: 'com.android.application'
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion 25
|
||
|
buildToolsVersion "25.0.3"
|
||
|
defaultConfig {
|
||
|
applicationId "litteman.com.assimpbuilder"
|
||
|
minSdkVersion 9
|
||
|
targetSdkVersion 25
|
||
|
versionCode 1
|
||
|
versionName "1.0"
|
||
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||
|
productFlavors {
|
||
|
armeabi {
|
||
|
ndk {
|
||
|
abiFilter "armeabi"
|
||
|
}
|
||
|
}
|
||
|
armV7 {
|
||
|
ndk {
|
||
|
abiFilter "armeabi-v7a"
|
||
|
}
|
||
|
}
|
||
|
arm64V8 {
|
||
|
ndk {
|
||
|
abiFilter "arm64-v8a"
|
||
|
}
|
||
|
}
|
||
|
x86 {
|
||
|
ndk {
|
||
|
abiFilter "x86"
|
||
|
}
|
||
|
}
|
||
|
fat {
|
||
|
ndk {
|
||
|
abiFilter "armeabi"
|
||
|
abiFilter "armeabi-v7a"
|
||
|
abiFilter "arm64-v8a"
|
||
|
abiFilter "x86"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
externalNativeBuild {
|
||
|
cmake {
|
||
|
//cppFlags "-std=c++11 -frtti -fexceptions"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
externalNativeBuild {
|
||
|
cmake {
|
||
|
path "CMakeLists.txt"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
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'
|
||
|
//})
|
||
|
compile 'com.android.support:appcompat-v7:25.3.1'
|
||
|
testCompile 'junit:junit:4.12'
|
||
|
}
|