Skip to content

com.google.android:android is for cupcake? #581

Closed

Description

@elharo

This is at HEAD:

google-http-java-client/blob/master/google-http-client/pom.xml pulls in

<dependency>
      <groupId>com.google.android</groupId>
      <artifactId>android</artifactId>
      <version>1.5_r4</version>
      <scope>provided</scope>
    </dependency>

This is very old and pulls in many other 10+ year old dependencies with some linkage problems .

Can this be upgraded to a more recent version?

Activity

  1. added
    type: cleanup
    triage me
    on Jan 31, 2019
  2. removed
    triage me
    on Jan 31, 2019
  3. elharo commented on Feb 10, 2019

    @elharo
    ContributorAuthor

    The readme says "Android 4.0 (Ice Cream Sandwich) (or higher)" which suggests we can upgrade this several versions.

    Even Ice Cream Sandwich is now unsupported: https://www.extremetech.com/mobile/282002-google-finally-ends-support-for-android-4-0-ice-cream-sandwich

    I'm not sure exactly which version of the android artifact we need.

  4. elharo commented on Feb 11, 2019

    @elharo
    ContributorAuthor

    Ping me for a pointer to internal discussion. This artifact seems to be deprecated now. Can we just get rid of it?

  5. elharo commented on Feb 11, 2019

    @elharo
    ContributorAuthor

    Robolectric builds the android.jar of every version and pushes it to Maven Central: https://search.maven.org/search?q=g:org.robolectric%20AND%20a:android-all&core=gav

    This may work better than the old one we are using.

  6. elharo commented on Feb 13, 2019

    @elharo
    ContributorAuthor

    There are something like 11 uses of this artifact:

    https://mvnrepository.com/artifact/com.google.http-client/google-http-client-android/usages

    2 of those are in this repo.
    Of the remaining 9, only one has been updated in the last year.

  7. elharo commented on Feb 13, 2019

    @elharo
    ContributorAuthor

    also relevant: why does the main artifact seem to depend on this? Could we cut that dependency short of completely deleting this?

  8. chingor13 commented on Jun 13, 2019

    @chingor13
    Contributor

    Looks like the android dependency was removed in #591

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

Metadata

Metadata

Assignees

Labels

androidtype: cleanup

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions