Dagger AndroidX Migration
Update imports and dependencies to use AndroidX APIs.
For backwards compatibility, produce two new artifacts,
"dagger-android-legacy" and "dagger-android-support-legacy" that are
dejetified artifacts of the AndroidX versions.
Resolves #1652
Resolves #1619
Resolves #1489
Resolves #1444
Resolves #1313
Resolves #1271
Resolves #1248
Resolves #1264
Co-authored-by: Zac Sweers <zsweers@slack-corp.com>
RELNOTES=Migrate dagger-android to AndroidX.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=291051989
diff --git a/WORKSPACE b/WORKSPACE
index 2ed847a..36b4462 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -52,6 +52,9 @@
"com.android.support:support-annotations:25.0.0",
"com.android.support:support-fragment:25.0.0",
"com.android.support:appcompat-v7:25.0.0",
+ "androidx.annotation:annotation:1.1.0",
+ "androidx.fragment:fragment:1.1.0",
+ "androidx.appcompat:appcompat:1.1.0",
"org.jetbrains.kotlin:kotlin-stdlib:1.3.50",
"org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.1.0",
],