Explicitly specify Metalava dependencies.

AGP cleaned up their dependencies to use api/implementation
leading to dependencies being removed from metalava classpath.

Test: ./androidx-studio-integration.sh
Change-Id: I804cebadcac0936eb64cc3e4dbb42be0fd6ac953
diff --git a/build.gradle.kts b/build.gradle.kts
index 08ba279..a32711b 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -73,15 +73,23 @@
 
 dependencies {
     implementation("com.android.tools.external.org-jetbrains:uast:$studioVersion")
+    implementation("com.android.tools.external.com-intellij:kotlin-compiler:$studioVersion")
     implementation("com.android.tools.external.com-intellij:intellij-core:$studioVersion")
     implementation("com.android.tools.lint:lint-api:$studioVersion")
     implementation("com.android.tools.lint:lint-checks:$studioVersion")
     implementation("com.android.tools.lint:lint-gradle:$studioVersion")
     implementation("com.android.tools.lint:lint:$studioVersion")
+    implementation("com.android.tools:common:$studioVersion")
+    implementation("com.android.tools:sdk-common:$studioVersion")
+    implementation("com.android.tools:sdklib:$studioVersion")
     implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion")
     implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
+    implementation("org.ow2.asm:asm:8.0")
+    implementation("org.ow2.asm:asm-tree:8.0")
     testImplementation("com.android.tools.lint:lint-tests:$studioVersion")
     testImplementation("junit:junit:4.11")
+    testImplementation("com.google.truth:truth:1.0")
+    testImplementation("org.jetbrains.kotlin:kotlin-test:$kotlinVersion")
 }
 
 tasks.withType(Test::class.java) {