Migrate core and livedata to implementation dependencies

Neither are exposed as public API.

Test: :loader:loader:build
Change-Id: I4f6dce0af4f58110f66b1d1e4f73aafacc1a2277
diff --git a/loader/loader-ktx/build.gradle b/loader/loader-ktx/build.gradle
index 7e007b9..5098ca6 100644
--- a/loader/loader-ktx/build.gradle
+++ b/loader/loader-ktx/build.gradle
@@ -41,6 +41,7 @@
     api(KOTLIN_STDLIB)
 
     androidTestImplementation(TRUTH)
+    androidTestImplementation(ARCH_LIFECYCLE_RUNTIME)
     androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
     androidTestImplementation(ANDROIDX_TEST_CORE)
     androidTestImplementation(ANDROIDX_TEST_RUNNER)
diff --git a/loader/loader/build.gradle b/loader/loader/build.gradle
index a83f993..ff3e35c 100644
--- a/loader/loader/build.gradle
+++ b/loader/loader/build.gradle
@@ -17,9 +17,9 @@
 
 dependencies {
     api("androidx.annotation:annotation:1.0.0")
-    api("androidx.core:core:1.0.0")
+    implementation("androidx.core:core:1.0.0")
     implementation("androidx.collection:collection:1.0.0")
-    api(ARCH_LIFECYCLE_LIVEDATA_CORE, libs.exclude_annotations_transitive)
+    implementation(ARCH_LIFECYCLE_LIVEDATA_CORE, libs.exclude_annotations_transitive)
     api(ARCH_LIFECYCLE_VIEWMODEL, libs.exclude_annotations_transitive)
 
     androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)