Target API 28
This commit is contained in:
parent
2037291f81
commit
b17a55ac57
3 changed files with 10 additions and 8 deletions
|
@ -9,7 +9,7 @@ android {
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 26
|
minSdkVersion 26
|
||||||
targetSdkVersion 26
|
targetSdkVersion 28
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
@ -50,6 +50,7 @@ gradle.projectsEvaluated {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// http://www.31mins.com/android-studio-build-system-application/
|
||||||
preBuild.doLast {
|
preBuild.doLast {
|
||||||
def imlFile = file(project.name + ".iml")
|
def imlFile = file(project.name + ".iml")
|
||||||
|
|
||||||
|
|
|
@ -16,19 +16,20 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/sysconfig
|
||||||
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
||||||
include $(BUILD_PREBUILT)
|
include $(BUILD_PREBUILT)
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
|
||||||
|
commons-io:../../libs/commons-io-2.6.jar
|
||||||
|
include $(BUILD_MULTI_PREBUILT)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
LOCAL_PACKAGE_NAME := Backup
|
LOCAL_PACKAGE_NAME := Backup
|
||||||
LOCAL_MODULE_TAGS := optional
|
LOCAL_MODULE_TAGS := optional
|
||||||
LOCAL_REQUIRED_MODULES := permissions_com.stevesoltys.backup.xml whitelist_com.stevesoltys.backup.xml
|
LOCAL_REQUIRED_MODULES := permissions_com.stevesoltys.backup.xml whitelist_com.stevesoltys.backup.xml
|
||||||
LOCAL_PRIVILEGED_MODULE := true
|
LOCAL_PRIVILEGED_MODULE := true
|
||||||
LOCAL_PRIVATE_PLATFORM_APIS := true
|
LOCAL_PRIVATE_PLATFORM_APIS := true
|
||||||
|
LOCAL_CERTIFICATE := platform
|
||||||
LOCAL_STATIC_JAVA_LIBRARIES := commons-io
|
LOCAL_STATIC_JAVA_LIBRARIES := commons-io
|
||||||
LOCAL_SRC_FILES := $(call all-java-files-under, java)
|
LOCAL_SRC_FILES := $(call all-java-files-under, java)
|
||||||
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
|
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
|
||||||
include $(BUILD_PACKAGE)
|
include $(BUILD_PACKAGE)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
|
|
||||||
commons-io:../../libs/commons-io-2.6.jar
|
|
||||||
include $(BUILD_MULTI_PREBUILT)
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
android:minSdkVersion="26"
|
android:minSdkVersion="26"
|
||||||
android:targetSdkVersion="26"
|
android:targetSdkVersion="28"
|
||||||
tools:ignore="GradleOverrides,OldTargetApi" />
|
tools:ignore="GradleOverrides,OldTargetApi" />
|
||||||
|
|
||||||
<uses-permission
|
<uses-permission
|
||||||
|
|
Loading…
Add table
Reference in a new issue