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
- Add
implementation 'com.box:box-android-sdk:4.2.3' to a sample project that uses only AndroidX dependencies.
- Add Can I drop Jetifier? to the sample project.
- 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
Description of the Issue
This repo has already been completely migrated to AndroidX, however, the artifact for release
4.2.3still 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
implementation 'com.box:box-android-sdk:4.2.3'to a sample project that uses only AndroidX dependencies../gradlew -Pandroid.enableJetifier=false canIDropJetifierExpected Behavior
This should output
No dependencies on old artifacts! Safe to drop Jetifier.Error Message
Instead this outputs:
Versions Used
Android SDK: 29
Android: 10