Add commons-io dependency to Android makefile
This commit is contained in:
parent
7e3ee5d8dc
commit
ab4ae56def
3 changed files with 9 additions and 2 deletions
|
@ -49,7 +49,7 @@ preBuild {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
provided fileTree(include: ['*.jar'], dir: 'libs')
|
provided fileTree(include: ['android.jar', 'libcore.jar'], dir: 'libs')
|
||||||
|
|
||||||
compile group: 'commons-io', name: 'commons-io', version: '2.6'
|
compile fileTree(include: ['commons-io-2.6.jar'], dir: 'libs')
|
||||||
}
|
}
|
||||||
|
|
BIN
app/libs/commons-io-2.6.jar
Normal file
BIN
app/libs/commons-io-2.6.jar
Normal file
Binary file not shown.
|
@ -22,6 +22,13 @@ 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_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)
|
Loading…
Reference in a new issue