prebid / prebid-mobile-android

Prebid Mobile SDK for Android applications
Apache License 2.0
57 stars 82 forks source link

Update compile and target version to 33; Update Kotlin plugin to 1.8.22; Update Google SDK version to 22.4.0 #690

Closed github-lucas-bon closed 1 year ago

github-lucas-bon commented 1 year ago

Currently PrebidInternalTestApp project run is failing due to the error below.

This sub-dependency androidx.privacysandbox.ads:ads-adservices* requires to compile against version 33, current value on this project is 32. As consequence Kotlin plugin needed to be update to >= 1.8.

I was not able to track which commit brought this breaking change, so apparently we have a dependency that was updated without version increment on the maven repo.

⚠️ Plus Google SDK version was updated, so this is blocking the CI, so I am taking the chance to update it as well.

to-do

Error

  2 issues were found when checking AAR metadata:

  1.  Dependency 'androidx.privacysandbox.ads:ads-adservices-java:1.0.0-beta05' requires libraries and applications that
      depend on it to compile against version 33 or later of the
      Android APIs.

      :PrebidInternalTestApp is currently compiled against android-32.

      Recommended action: Update this project to use a newer compileSdkVersion
      of at least 33, for example 33.

      Note that updating a library or application's compileSdkVersion (which
      allows newer APIs to be used) can be done separately from updating
      targetSdkVersion (which opts the app in to new runtime behavior) and
      minSdkVersion (which determines which devices the app can be installed
      on).

  2.  Dependency 'androidx.privacysandbox.ads:ads-adservices:1.0.0-beta05' requires libraries and applications that
      depend on it to compile against version 33 or later of the
      Android APIs.

      :PrebidInternalTestApp is currently compiled against android-32.

      Recommended action: Update this project to use a newer compileSdkVersion
      of at least 33, for example 33.

      Note that updating a library or application's compileSdkVersion (which
      allows newer APIs to be used) can be done separately from updating
      targetSdkVersion (which opts the app in to new runtime behavior) and
      minSdkVersion (which determines which devices the app can be installed
      on).