Final fixup before merge. Rebuild binary deps, minor fixes.
Binary deps were not getting build and cleaned from the binaryDeps subdirectory of "libs". Also, reverted the android support appcompat library target to android-19, as there was no need to change it.
This commit is contained in:
parent
aa38418c91
commit
ccdb161de4
@ -41,7 +41,7 @@ android update lib-project --path $EXTERN/zxing-core
|
|||||||
android update lib-project --path $EXTERN/android-support-v4-preferencefragment
|
android update lib-project --path $EXTERN/android-support-v4-preferencefragment
|
||||||
place_support_v4 $EXTERN/android-support-v4-preferencefragment
|
place_support_v4 $EXTERN/android-support-v4-preferencefragment
|
||||||
|
|
||||||
android update lib-project --path $EXTERN/Support/v7/appcompat --target android-21
|
android update lib-project --path $EXTERN/Support/v7/appcompat --target android-19
|
||||||
place_support_v4 $EXTERN/Support/v7/appcompat
|
place_support_v4 $EXTERN/Support/v7/appcompat
|
||||||
|
|
||||||
android update project --path . --name F-Droid
|
android update project --path . --name F-Droid
|
||||||
|
@ -92,7 +92,7 @@ task cleanBinaryDeps(type: Delete) {
|
|||||||
enabled = project.hasProperty('sourceDeps')
|
enabled = project.hasProperty('sourceDeps')
|
||||||
description = "Removes all .jar and .aar files from F-Droid/libs/. Requires the sourceDeps property to be set (\"gradle -PsourceDeps cleanBinaryDeps\")"
|
description = "Removes all .jar and .aar files from F-Droid/libs/. Requires the sourceDeps property to be set (\"gradle -PsourceDeps cleanBinaryDeps\")"
|
||||||
|
|
||||||
delete fileTree('libs') {
|
delete fileTree('libs/binaryDeps') {
|
||||||
include '*.aar'
|
include '*.aar'
|
||||||
include '*.jar'
|
include '*.jar'
|
||||||
}
|
}
|
||||||
@ -113,13 +113,13 @@ task binaryDeps(type: Copy, dependsOn: ':F-Droid:prepareReleaseDependencies') {
|
|||||||
// 'MemorizingTrustManager/build/outputs/aar/MemorizingTrustManager-release.aar'
|
// 'MemorizingTrustManager/build/outputs/aar/MemorizingTrustManager-release.aar'
|
||||||
}
|
}
|
||||||
|
|
||||||
into 'libs'
|
into 'libs/binaryDeps'
|
||||||
|
|
||||||
includeEmptyDirs false
|
includeEmptyDirs false
|
||||||
|
|
||||||
eachFile { FileCopyDetails details ->
|
eachFile { FileCopyDetails details ->
|
||||||
// Don't copy to a sub folder such as libs/Project/build/outputs/aar/project.aar, but
|
// Don't copy to a sub folder such as libs/binaryDeps/Project/build/outputs/aar/project.aar, but
|
||||||
// rather libs/project.aar.
|
// rather libs/binaryDeps/project.aar.
|
||||||
details.path = details.name
|
details.path = details.name
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user