Upgradle 7.2-rc-2

- Rename all dependencies in libs.versions.toml that end in
  plugin to pluginz as plugin is a reserved naspace now.
- Suppress warning about AGP version in included builds b/195025261
- Gradle 7.2 ships kotlin 1.5, fix deprecations like toUpperCase.

Test: ./gradlew tasks jar assembleDebug
Change-Id: If2e7f52b92496fbf4cdbd067fd92a29e424d8b33
diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle
index 05b0504..63908f2 100644
--- a/buildSrc/build.gradle
+++ b/buildSrc/build.gradle
@@ -6,7 +6,7 @@
     repos.addMavenRepositories(repositories)
 
     dependencies {
-        classpath(libs.kotlinGradlePlugin)
+        classpath(libs.kotlinGradlePluginz)
     }
 
     configurations.classpath.resolutionStrategy {
@@ -60,21 +60,21 @@
 }
 
 dependencies {
-    cacheableApi(libs.androidGradlePlugin)
+    cacheableApi(libs.androidGradlePluginz)
     cacheableImplementation(libs.dexMemberList)
-    cacheableApi(libs.kotlinGradlePlugin)
+    cacheableApi(libs.kotlinGradlePluginz)
     cacheableImplementation(gradleApi())
-    cacheableApi(libs.dokkaGradlePlugin)
+    cacheableApi(libs.dokkaGradlePluginz)
     // needed by inspection plugin
-    cacheableImplementation(libs.protobufGradlePlugin)
-    cacheableImplementation(libs.wireGradlePlugin)
+    cacheableImplementation(libs.protobufGradlePluginz)
+    cacheableImplementation(libs.wireGradlePluginz)
     cacheableImplementation(libs.shadow)
     // dependencies that aren't used by buildSrc directly but that we resolve here so that the
     // root project doesn't need to re-resolve them and their dependencies on every build
-    cacheableRuntimeOnly(libs.hiltAndroidGradlePlugin)
+    cacheableRuntimeOnly(libs.hiltAndroidGradlePluginz)
     // room kotlintestapp uses the ksp plugin but it does not publish a plugin marker yet
-    cacheableApi(libs.kspGradlePlugin)
-    cacheableApi(libs.japicmpPlugin)
+    cacheableApi(libs.kspGradlePluginz)
+    cacheableApi(libs.japicmpPluginz)
     // dependencies whose resolutions we don't need to cache
     compileOnly(findGradleKotlinDsl()) // Only one file in this configuration, no need to cache it
     implementation(project("jetpad-integration")) // Doesn't have a .pom, so not slow to load