Permalink
Browse files

allclean task moved to common file

Summary: allclean task move to common file

Reviewed By: kirwan

Differential Revision: D4320009

fbshipit-source-id: 6cb79743a28e8edf4b4db79cb598b4cb56250ccf
  • Loading branch information...
1 parent 5c9a89e commit caa59e33a9a9a1a7caf3440ca181f6f4b89d5137 @massimocarli massimocarli committed with Facebook Github Bot Dec 13, 2016
Showing with 5 additions and 15 deletions.
  1. +0 −5 animated-gif/build.gradle
  2. +5 −0 build.gradle
  3. +0 −5 imagepipeline/build.gradle
  4. +0 −5 static-webp/build.gradle
@@ -33,11 +33,6 @@ apply from: rootProject.file('release.gradle')
task fetchNativeDeps(dependsOn: [copyGiflib]) {
}
-task removeNativeDeps(type: Delete) {
- delete nativeDepsDir
-}
-allclean.dependsOn removeNativeDeps
-
android {
def ndkLibs = [['gifimage', [copyGiflib]]]
View
@@ -142,6 +142,11 @@ subprojects {
ext.downloadsDir = new File("${nativeDepsDir}/downloads")
ext.mergeDir = new File("${nativeDepsDir}/merge")
+ task removeNativeDeps(type: Delete) {
+ delete nativeDepsDir
+ }
+ allclean.dependsOn removeNativeDeps
+
task createNativeDepsDirectories {
nativeDepsDir.mkdirs()
downloadsDir.mkdirs()
@@ -37,11 +37,6 @@ apply from: rootProject.file('release.gradle')
task fetchNativeDeps(dependsOn: [copyLibjpeg]) {
}
-task removeNativeDeps(type: Delete) {
- delete nativeDepsDir
-}
-allclean.dependsOn removeNativeDeps
-
android {
def ndkLibs = [
['bitmaps', []],
@@ -23,11 +23,6 @@ apply from: rootProject.file('release.gradle')
task fetchNativeDeps(dependsOn: [copyLibwebp, copyLibpng, copyLibjpeg]) {
}
-task removeNativeDeps(type: Delete) {
- delete nativeDepsDir
-}
-allclean.dependsOn removeNativeDeps
-
android {
def ndkLibs = [['static-webp', [copyLibjpeg, copyLibpng, copyLibwebp]]]

0 comments on commit caa59e3

Please sign in to comment.