Skip to content

Commit

Permalink
bump fresco to 2.3.0 (#30061)
Browse files Browse the repository at this point in the history
Summary:
Bump Fresco to 2.3.0.

## Changelog

[Android] [Changed] - Bump Fresco to 2.3.0

Pull Request resolved: #30061

Reviewed By: mdvacca

Differential Revision: D24074218

Pulled By: fkgozali

fbshipit-source-id: 9f42a24927e560da2ac64857ac8cd6b4f0211849
  • Loading branch information
dulmandakh authored and facebook-github-bot committed Jan 14, 2021
1 parent 6cd31be commit 280f524
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 15 deletions.
1 change: 1 addition & 0 deletions ReactAndroid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ dependencies {
api("androidx.swiperefreshlayout:swiperefreshlayout:1.0.0")
api("com.facebook.fresco:fresco:${FRESCO_VERSION}")
api("com.facebook.fresco:imagepipeline-okhttp3:${FRESCO_VERSION}")
api("com.facebook.fresco:ui-common:${FRESCO_VERSION}")
api("com.facebook.soloader:soloader:${SO_LOADER_VERSION}")
api("com.google.code.findbugs:jsr305:3.0.2")
api("com.squareup.okhttp3:okhttp:${OKHTTP_VERSION}")
Expand Down
2 changes: 1 addition & 1 deletion ReactAndroid/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ROBOLECTRIC_VERSION=4.4
JUNIT_VERSION=4.12

ANDROIDX_TEST_VERSION=1.1.0
FRESCO_VERSION=2.0.0
FRESCO_VERSION=2.3.0
OKHTTP_VERSION=3.14.9
SO_LOADER_VERSION=0.9.0

Expand Down
106 changes: 92 additions & 14 deletions ReactAndroid/src/main/libraries/fresco/fresco-react-native/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ rn_android_prebuilt_aar(

fb_native.remote_file(
name = "fresco-binary-aar",
sha1 = "d473020b37b7cdd3171154942b55021a55a9d990",
url = "mvn:com.facebook.fresco:fresco:aar:2.0.0",
sha1 = "fbc98413bb32eefe882a07cc556c7a1224dc9f24",
url = "mvn:com.facebook.fresco:fresco:aar:2.3.0",
)

rn_android_prebuilt_aar(
Expand All @@ -21,8 +21,8 @@ rn_android_prebuilt_aar(

fb_native.remote_file(
name = "drawee-binary-aar",
sha1 = "a85bfaeb87a9c8d1521c70edf6ded91ff9999475",
url = "mvn:com.facebook.fresco:drawee:aar:2.0.0",
sha1 = "1cff917b6f19efe7a21ca542c8b8bed18d0d9779",
url = "mvn:com.facebook.fresco:drawee:aar:2.3.0",
)

rn_android_library(
Expand All @@ -33,7 +33,13 @@ rn_android_library(
":bolts",
":imagepipeline-base",
":imagepipeline-core",
":imagepipeline-native",
":memory-type-ashmem",
":memory-type-java",
":memory-type-native",
":native-filters",
":native-transcoder",
":ui-common",
],
)

Expand All @@ -45,8 +51,8 @@ rn_android_prebuilt_aar(

fb_native.remote_file(
name = "imagepipeline-base-aar",
sha1 = "d27635390665d433f987177c548d25d0473eadbe",
url = "mvn:com.facebook.fresco:imagepipeline-base:aar:2.0.0",
sha1 = "ed3c290961f4c20fffa0ce35c098714c1934523d",
url = "mvn:com.facebook.fresco:imagepipeline-base:aar:2.3.0",
)

rn_android_prebuilt_aar(
Expand All @@ -57,8 +63,8 @@ rn_android_prebuilt_aar(

fb_native.remote_file(
name = "imagepipeline-aar",
sha1 = "7bc59327fb4895c465cbfeede700daf349ea56da",
url = "mvn:com.facebook.fresco:imagepipeline:aar:2.0.0",
sha1 = "579954628c8e1da96e1585741f5dae08f282ce3e",
url = "mvn:com.facebook.fresco:imagepipeline:aar:2.3.0",
)

rn_android_prebuilt_aar(
Expand All @@ -69,8 +75,20 @@ rn_android_prebuilt_aar(

remote_file(
name = "nativeimagefilters-aar",
sha1 = "f49525db580abc4d2fb0a74fac771fc6c69f2adb",
url = "mvn:com.facebook.fresco:nativeimagefilters:aar:2.0.0",
sha1 = "1f4d81f8f6e2706ae848124d454c99cadd85496c",
url = "mvn:com.facebook.fresco:nativeimagefilters:aar:2.3.0",
)

rn_android_prebuilt_aar(
name = "native-transcoder",
aar = ":nativeimagetranscoder-aar",
visibility = ["//ReactAndroid/..."],
)

remote_file(
name = "nativeimagetranscoder-aar",
sha1 = "1b74432d16db744719dfe1d03d4d93850e061d08",
url = "mvn:com.facebook.fresco:nativeimagetranscoder:aar:2.3.0",
)

rn_prebuilt_jar(
Expand All @@ -93,8 +111,20 @@ rn_android_prebuilt_aar(

fb_native.remote_file(
name = "fbcore-aar",
sha1 = "8de91f71e8aa84a4d9be4dd88d1a0ac51600ad60",
url = "mvn:com.facebook.fresco:fbcore:aar:2.0.0",
sha1 = "6d568ce3e1a5377c390dbde6f150884fecd61bd0",
url = "mvn:com.facebook.fresco:fbcore:aar:2.3.0",
)

rn_android_prebuilt_aar(
name = "imagepipeline-native",
aar = ":imagepipeline-native-binary-aar",
visibility = ["//ReactAndroid/..."],
)

fb_native.remote_file(
name = "imagepipeline-native-binary-aar",
sha1 = "705a3629cfba16ab8c9b2765058380276514342c",
url = "mvn:com.facebook.fresco:imagepipeline-native:aar:2.3.0",
)

rn_android_prebuilt_aar(
Expand All @@ -105,6 +135,54 @@ rn_android_prebuilt_aar(

fb_native.remote_file(
name = "imagepipeline-okhttp3-binary-aar",
sha1 = "bc1212ca66cd09678b416894ea8bd04102d26c5f",
url = "mvn:com.facebook.fresco:imagepipeline-okhttp3:aar:2.0.0",
sha1 = "1065513f02b97ee46601d92105151ae9e2111bfc",
url = "mvn:com.facebook.fresco:imagepipeline-okhttp3:aar:2.3.0",
)

rn_android_prebuilt_aar(
name = "memory-type-ashmem",
aar = ":memory-type-ashmem-aar",
visibility = ["//ReactAndroid/..."],
)

remote_file(
name = "memory-type-ashmem-aar",
sha1 = "d0e2ab70d5d35d08de81d3917b0f5d7bbf4fa82c",
url = "mvn:com.facebook.fresco:memory-type-ashmem:aar:2.3.0",
)

rn_android_prebuilt_aar(
name = "memory-type-java",
aar = ":memory-type-java-aar",
visibility = ["//ReactAndroid/..."],
)

remote_file(
name = "memory-type-java-aar",
sha1 = "5e8adc594bc9d8f4e8d794dff23c70882fb98e65",
url = "mvn:com.facebook.fresco:memory-type-java:aar:2.3.0",
)

rn_android_prebuilt_aar(
name = "memory-type-native",
aar = ":memory-type-native-aar",
visibility = ["//ReactAndroid/..."],
)

remote_file(
name = "memory-type-native-aar",
sha1 = "72bb5626d508587cb9d96beb0e2b61ac36a2c63d",
url = "mvn:com.facebook.fresco:memory-type-native:aar:2.3.0",
)

rn_android_prebuilt_aar(
name = "ui-common",
aar = ":ui-common-aar",
visibility = ["//ReactAndroid/..."],
)

remote_file(
name = "ui-common-aar",
sha1 = "0ce37a495f0f37165e3ede1c4cb927b0b55856be",
url = "mvn:com.facebook.fresco:ui-common:aar:2.3.0",
)

0 comments on commit 280f524

Please sign in to comment.