googlesamples / unity-jar-resolver

Unity plugin which resolves Android & iOS dependencies and performs version management
Other
1.21k stars 337 forks source link

Enable Jetifier by default #611

Closed chkuang-g closed 1 year ago

chkuang-g commented 1 year ago

AndroidX and Jetifier was introduce in 2019. There are higher and higher chance to have mix use of legacy support library and AndroidX support libraries.

Currently EDM4U can only detect if Jetifier is needed when Custom Main Gradle Template is not enabled, that is, when EDM4U downloads Android libraries to Assets/Plugins/Android folders. It is harder to detect the need of Jetfifier if the dependency is specified in Gradle templates.

This change will set Use Jetifier settings to true by default.