Add Ads-Identifier and lifecycle-runtime-ktx for support library drop.
Test: ./gradlew partiallyDejetifyArchive
Bugs: b/140209803
Change-Id: I49a06225f01c5f0899cea2d0b8e243d0abb4bcb9
diff --git a/buildSrc/src/main/kotlin/androidx/build/Jetify.kt b/buildSrc/src/main/kotlin/androidx/build/Jetify.kt
index ec84188..c1ea146 100644
--- a/buildSrc/src/main/kotlin/androidx/build/Jetify.kt
+++ b/buildSrc/src/main/kotlin/androidx/build/Jetify.kt
@@ -25,6 +25,7 @@
val archivesToDejetify = listOf(
"m2repository/androidx/activity/**",
+ "m2repository/androidx/ads/identifier/**",
"m2repository/androidx/annotation/**",
"m2repository/androidx/appcompat/**",
"m2repository/androidx/arch/**",
diff --git a/jetifier/jetifier/migration.config b/jetifier/jetifier/migration.config
index e4c36bc..2263949 100644
--- a/jetifier/jetifier/migration.config
+++ b/jetifier/jetifier/migration.config
@@ -553,7 +553,7 @@
"from": "androidx/gridlayout/R(.*)",
"to": "ignore"
},
- {
+ {
"from": "androidx/dynamicanimation/animation/(.*)",
"to": "ignore"
},
@@ -622,6 +622,10 @@
"to": "ignore"
},
{
+ "from": "androidx/ads/identifier/(.*)",
+ "to": "ignore"
+ },
+ {
"from": "androidx/swiperefreshlayout/R(.*)",
"to": "ignore"
},
@@ -984,6 +988,10 @@
"to": "androidx/camera"
},
{
+ "from": "androidx/ads/identifier",
+ "to": "androidx/ads/identifier"
+ },
+ {
"from": "androidx/exifinterface",
"to": "androidx/exifinterface"
},
@@ -2443,6 +2451,18 @@
},
{
"from": {
+ "groupId": "android.arch.lifecycle",
+ "artifactId": "lifecycle-runtime-ktx",
+ "version": "1.1.1"
+ },
+ "to": {
+ "groupId": "androidx.lifecycle",
+ "artifactId": "lifecycle-runtime-ktx",
+ "version": "{newLifecycleVersion}"
+ }
+ },
+ {
+ "from": {
"groupId": "android.arch.paging",
"artifactId": "paging-rxjava2-ktx",
"version": "1.0.0"
@@ -3126,6 +3146,42 @@
}
},
{
+ "from": {
+ "groupId": "androidx.ads.identifier",
+ "artifactId": "ads-identifier",
+ "version": "{newAdsIdentifierVersion}"
+ },
+ "to": {
+ "groupId": "androidx.ads.identifier",
+ "artifactId": "ads-identifier",
+ "version": "{newAdsIdentifierVersion}"
+ }
+ },
+ {
+ "from": {
+ "groupId": "androidx.ads.identifier",
+ "artifactId": "ads-identifier-common",
+ "version": "{newAdsIdentifierVersion}"
+ },
+ "to": {
+ "groupId": "androidx.ads.identifier",
+ "artifactId": "ads-identifier-common",
+ "version": "{newAdsIdentifierVersion}"
+ }
+ },
+ {
+ "from": {
+ "groupId": "androidx.ads.identifier",
+ "artifactId": "ads-identifier-provider",
+ "version": "{newAdsIdentifierVersion}"
+ },
+ "to": {
+ "groupId": "androidx.ads.identifier",
+ "artifactId": "ads-identifier-provider",
+ "version": "{newAdsIdentifierVersion}"
+ }
+ },
+ {
"from": {
"groupId": "androidx.annotation",
"artifactId": "annotation-experimental",
@@ -3178,7 +3234,8 @@
"newDataBindingVersion": "undefined",
"newWorkManagerVersion": "2.0.0",
"newBenchmarkVersion": "1.0.0-alpha04",
- "newCameraVersion": "1.0.0-alpha01"
+ "newCameraVersion": "1.0.0-alpha01",
+ "newAdsIdentifierVersion": "1.0.0-alpha02"
}
},
"map": {