Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android: fix Gradle deps, drop Flipper, upgrade Fresco #16369

Merged
merged 1 commit into from
Jun 23, 2023

Conversation

jakubgs
Copy link
Member

@jakubgs jakubgs commented Jun 23, 2023

There are a few fixes here:

  • Changes format of Gradle deps to :buildEnvironment and :dependencies:
    Cannot locate tasks that match '::buildEnvironment'. The path should not include an empty segment (try ':buildEnvironment' instead).
    
  • Fix for GNU Parallel tool to use stdin for list of arguments:
    nix/deps/gradle/generate.sh: line 55: parallel: Argument list too long
    
  • Update of Facebook Fresco dependencies from 2.2.0 to 2.5.0 to fix:
     > echo com.facebook.fresco:animated-gif:2.2.0 | ./go-maven-resolver > /dev/null
    finder.go:121: error: 'no pom data' for: <Dep ID=com.facebook.fresco:imagepipeline-native:2.2.0 O=false S=compile >
    finder.go:121: error: 'no pom data' for: <Dep ID=com.facebook.fresco:memory-type-native:2.2.0 O=false S=compile >
    finder.go:121: error: 'no pom data' for: <Dep ID=com.facebook.fresco:imagepipeline:2.2.0 O=false S=compile >
    finder.go:121: error: 'no pom data' for: <Dep ID=com.facebook.fresco:drawee:2.2.0 O=false S=runtime >
    finder.go:121: error: 'no pom data' for: <Dep ID=com.facebook.fresco:memory-type-java:2.2.0 O=false S=compile >
    finder.go:121: error: 'no pom data' for: <Dep ID=com.facebook.fresco:fbcore:2.2.0 O=false S=runtime >
    
  • Remove Flipper to avoid pulling in Fresco 2.2.0 versions:
    +--- com.facebook.flipper:flipper-fresco-plugin:0.54.0
    |    +--- com.facebook.fresco:fresco:2.2.0 -> 2.5.0
    |    +--- com.facebook.fresco:flipper:2.2.0
    |    \--- com.facebook.fresco:stetho:2.2.0
    

Thanks for help from Sidarth.

Resolves:

@status-im-auto
Copy link
Member

status-im-auto commented Jun 23, 2023

Jenkins Builds

Click to see older builds (4)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ a0f2c0c #1 2023-06-23 09:27:36 ~7 min android 🤖apk 📲
✔️ a0f2c0c #1 2023-06-23 09:30:21 ~9 min ios 📱ipa 📲
✔️ a0f2c0c #1 2023-06-23 09:32:23 ~11 min android-e2e 🤖apk 📲
✔️ a0f2c0c #1 2023-06-23 09:33:03 ~12 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ cc6963e #3 2023-06-23 09:51:54 ~5 min android 🤖apk 📲
✔️ cc6963e #3 2023-06-23 09:52:01 ~6 min android-e2e 🤖apk 📲
✔️ cc6963e #3 2023-06-23 09:52:24 ~6 min ios 📱ipa 📲
✔️ cc6963e #3 2023-06-23 09:53:24 ~7 min tests 📄log
✔️ 33b2e12 #4 2023-06-23 10:11:32 ~5 min ios 📱ipa 📲
✔️ 33b2e12 #4 2023-06-23 10:12:12 ~6 min android-e2e 🤖apk 📲
✔️ 33b2e12 #4 2023-06-23 10:12:40 ~6 min android 🤖apk 📲
✔️ 33b2e12 #4 2023-06-23 10:13:34 ~7 min tests 📄log

There are a few fixes here:

* Changes format of Gradle deps to `:buildEnvironment` and `:dependencies`:
    ```
    Cannot locate tasks that match '::buildEnvironment'. The path should not include an empty segment (try ':buildEnvironment' instead).
    ```
* Fix for GNU Parallel tool to use stdin for list of arguments:
    ```
    nix/deps/gradle/generate.sh: line 55: parallel: Argument list too long
    ```
* Update of Facebook Fresco dependencies from `2.2.0` to `2.5.0` to fix:
    ```
     > echo com.facebook.fresco:animated-gif:2.2.0 | ./go-maven-resolver > /dev/null
    finder.go:121: error: 'no pom data' for: <Dep ID=com.facebook.fresco:imagepipeline-native:2.2.0 O=false S=compile >
    finder.go:121: error: 'no pom data' for: <Dep ID=com.facebook.fresco:memory-type-native:2.2.0 O=false S=compile >
    finder.go:121: error: 'no pom data' for: <Dep ID=com.facebook.fresco:imagepipeline:2.2.0 O=false S=compile >
    finder.go:121: error: 'no pom data' for: <Dep ID=com.facebook.fresco:drawee:2.2.0 O=false S=runtime >
    finder.go:121: error: 'no pom data' for: <Dep ID=com.facebook.fresco:memory-type-java:2.2.0 O=false S=compile >
    finder.go:121: error: 'no pom data' for: <Dep ID=com.facebook.fresco:fbcore:2.2.0 O=false S=runtime >
    ```
* Remove Flipper to avoid pulling in Fresco `2.2.0` versions:
    ```
    +--- com.facebook.flipper:flipper-fresco-plugin:0.54.0
    |    +--- com.facebook.fresco:fresco:2.2.0 -> 2.5.0
    |    +--- com.facebook.fresco:flipper:2.2.0
    |    \--- com.facebook.fresco:stetho:2.2.0
    ```

Thanks for help from Sidarth.

Resolves: #16367

Signed-off-by: Jakub Sokołowski <[email protected]>
@jakubgs jakubgs marked this pull request as ready for review June 23, 2023 10:12
Copy link
Member

@smohamedjavid smohamedjavid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this branch. No errors.
Works as expected 🚀 .

@jakubgs jakubgs merged commit 33b2e12 into develop Jun 23, 2023
@jakubgs jakubgs deleted the nix/fix-gradle-deps branch June 23, 2023 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants