v0.7.4: increased minSDK to 9(android 2.3) from 8(android 2.2)

This commit is contained in:
Evan Debenham
2019-06-03 19:23:10 -04:00
parent c91af78699
commit d67a4bf021
15 changed files with 13 additions and 204 deletions

View File

@@ -3,35 +3,9 @@ apply plugin: 'com.android.library'
android {
compileSdkVersion 28
task ndkBuild(type: Exec){
description "builds JNI libs from source. " +
"This requires the Android NDK and is optional as precompiled libs are provided."
def root = project(':SPD-classes').projectDir
def ndkDir = android.ndkDirectory
//Need to execute through cmd on windows systems
if (System.properties["os.name"].toLowerCase().contains("windows")){
executable "cmd"
args "/c", "$ndkDir${File.separator}ndk-build",
"NDK_PROJECT_PATH=$root/src/main/jniSources",
"NDK_APPLICATION_MK=$root/src/main/jniSources/Application.mk",
"APP_BUILD_SCRIPT=$root/src/main/jniSources/Android.mk",
"NDK_LIBS_OUT=$root/src/main/jniLibs"
} else {
executable "$ndkDir/ndk-build"
args "NDK_PROJECT_PATH=$root/src/main/jniSources",
"NDK_APPLICATION_MK=$root/src/main/jniSources/Application.mk",
"APP_BUILD_SCRIPT=$root/src/main/jniSources/Android.mk",
"NDK_LIBS_OUT=$root/src/main/jniLibs"
}
}
defaultConfig {
//noinspection MinSdkTooLow
minSdkVersion 8
minSdkVersion 9
}
}