wordpress-mobile / WordPress-Login-Flow-Android

Pluggable WordPress login flow for Android
GNU General Public License v2.0
14 stars 3 forks source link

Update `targetSdkVersion` and `compileSdkVersion` to 31 #96

Closed AjeshRPai closed 1 year ago

AjeshRPai commented 1 year ago

Parent #https://github.com/wordpress-mobile/WordPress-Android/issues/16062

As part of the migration of WP Android to Android 12, the targetSdkVersion and compileSdkVersion on the dependent libraries can be updated to 31. WooCommerce is already using targetSdkVersion = 31 and compileSdkVersion = 33, This change wouldn't affect the app( WooCommerce,Wordpress Android) since the targetSdkVersion and compileSdkVersion on the app has a higher priority and the manifest merge wouldn't make any issues. The Wordpress Android had a targetSdkVersion of 30 which now has been updated to 31 in this PR - https://github.com/wordpress-mobile/WordPress-Android/pull/17153. So in order to keep the targetSdkVersion and compileSdkVersion to be consistent with the apps this change needs to be taken up.