Steps to Reproduce
This is a very small problem, and quite easy to reproduce, so I'm not attaching a repo link.
- Have
url_launcher (v6.1.5, but any should do) included in your Flutter project
- Run Gradle task
./gradlew checkJetifier
- See warning (actual result):
> Task :url_launcher_android:checkJetifier
The following libraries used by project ':url_launcher_android' depend on legacy support libraries. To disable Jetifier, you will need to use AndroidX-supported versions of these libraries.
org.robolectric:robolectric:4.3 (Project ':url_launcher_android', configuration 'debugUnitTestCompileClasspath' -> org.robolectric:robolectric:4.3 -> org.robolectric:shadows-framework:4.3 -> com.android.support:support-annotations:28.0.0)
Expected results:
I expect the url_package to not depend on any legacy Android support libraries, which have been deprecated since 2018 in favor of AndroidX.
The problem is with the dependency on roboelectric 4.3, which uses support libraries. It's worth checking out if newer versions of Roboelectric are fully migrated to AndroidX.
Steps to Reproduce
This is a very small problem, and quite easy to reproduce, so I'm not attaching a repo link.
url_launcher(v6.1.5, but any should do) included in your Flutter project./gradlew checkJetifierExpected results:
I expect the
url_packageto not depend on any legacy Android support libraries, which have been deprecated since 2018 in favor of AndroidX.The problem is with the dependency on roboelectric 4.3, which uses support libraries. It's worth checking out if newer versions of Roboelectric are fully migrated to AndroidX.