Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Remove Guava from transitive dependencies #7129

Closed

Description

@zugaldia

We're including Guava as a transitive dependency via LOST. This increases unnecessarily the method count and it doesn't affect LOST functionality if removed lostzen/lost#58. Let's add a Gradle rule to remove it explicitly.

Note that this has already been fixed in LOST 2.0 #6537 and won't be necessary once we upgrade.

/cc: @cammace @tobrun

Activity

  1. added
    Android
    on Nov 21, 2016
  2. added this to the android-v4.2.0 milestone on Nov 21, 2016
  3. self-assigned this
    on Nov 21, 2016
  4. zugaldia commented on Nov 21, 2016

    @zugaldia
    MemberAuthor
  5. added 2 commits that reference this issue on Nov 21, 2016
  6. zugaldia commented on Nov 21, 2016

    @zugaldia
    MemberAuthor

    Fixed via #7135.

  7. niedzielski commented on Feb 14, 2017

    @niedzielski
    Contributor

    @zugaldia, o/ I believe this fix was slated for v4.2.2 but I'm still seeing Guava as a dependency when specifying the v4.2.2 respository aar dependency instead of the project. For example, in the MapboxGLAndroidSDKTestApp app, gradlew :MapboxGLAndroidSDKTestApp:dependencies shows no Mapzen dependency on Guava. However, change the dependency:

        // comment out project
        // compile(project(':MapboxGLAndroidSDK')) {
        //     transitive = true
        // }
    
        // add aar dependency from repository
        compile('com.mapbox.mapboxsdk:mapbox-android-sdk:4.2.2@aar') {
            transitive = true
        }

    And now Mapzen depends on com.google.guava:guava:18.0. Can we reopen this issue?

  8. zugaldia commented on Feb 14, 2017

    @zugaldia
    MemberAuthor

    @niedzielski Thanks for the report. Could you check 5.0.0-beta.1 released today #8051? We've finally upgraded to LOST 2.0.0 which only includes Guava as a test dependency.

  9. niedzielski commented on Feb 14, 2017

    @niedzielski
    Contributor

    @zugaldia, cool! v5.0.0-beta.1 appears to be correct. Thanks :]

  10. zugaldia commented on Feb 14, 2017

    @zugaldia
    MemberAuthor

    @niedzielski thanks for the 👀 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Android

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions