Skip to content

Release 4.2.3 still includes Android Support Library Annotations in POM #432

Open
@ashughes

Description

@ashughes

Description of the Issue

This repo has already been completely migrated to AndroidX, however, the artifact for release 4.2.3 still includes the Android Support Library Annotations as a dependency in the POM. This causes the Android Support Library Annotations to be included as a transitive dependency for any projects that use the Box SDK (which prevents disabling the Jetifier).

Steps to Reproduce

  1. Add implementation 'com.box:box-android-sdk:4.2.3' to a sample project that uses only AndroidX dependencies.
  2. Add Can I drop Jetifier? to the sample project.
  3. Run ./gradlew -Pandroid.enableJetifier=false canIDropJetifier

Expected Behavior

This should output No dependencies on old artifacts! Safe to drop Jetifier.

Error Message

Instead this outputs:

Cannot drop Jetifier due to following external dependencies:

* com.box:box-android-sdk:4.2.3
  \-- com.android.support:support-annotations:26.1.0

Versions Used

Android SDK: 29
Android: 10

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions