Files
baresip-studio/gen-libs/build.gradle
Juha Heinanen ce52d1dbff first commit
2018-02-20 05:01:26 +02:00

41 lines
959 B
Groovy

apply plugin: 'com.android.library'
android {
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
minSdkVersion 14
targetSdkVersion 17
versionCode 1
versionName "1.0"
externalNativeBuild {
cmake {
arguments '-DANDROID_PLATFORM=android-17',
'-DANDROID_TOOLCHAIN=clang'
// explicitly build libs
// targets 're', 'rem', 'baresip'
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
}
}
externalNativeBuild {
cmake {
path 'src/main/cpp/CMakeLists.txt'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.4.0'
}