From 19c850a062b630054ac5756761be633961427c8d Mon Sep 17 00:00:00 2001 From: Marc Plano-Lesay Date: Tue, 20 Apr 2021 15:08:50 +1000 Subject: [PATCH] Update Jetpack Compose to 1.0.0-beta04 --- examples/jetpack_compose/compose-ui/BUILD | 1 + examples/jetpack_compose/compose-ui/MainActivity.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/jetpack_compose/compose-ui/BUILD b/examples/jetpack_compose/compose-ui/BUILD index 0320e4d13..bbab7117c 100644 --- a/examples/jetpack_compose/compose-ui/BUILD +++ b/examples/jetpack_compose/compose-ui/BUILD @@ -8,6 +8,7 @@ kt_android_library( plugins = ["//:jetpack_compose_compiler_plugin"], visibility = ["//visibility:public"], deps = [ + "@maven//:androidx_activity_activity_compose", "@maven//:androidx_appcompat_appcompat", "@maven//:androidx_compose_material_material", "@maven//:androidx_compose_ui_ui", diff --git a/examples/jetpack_compose/compose-ui/MainActivity.kt b/examples/jetpack_compose/compose-ui/MainActivity.kt index c88efffb1..cefdca041 100644 --- a/examples/jetpack_compose/compose-ui/MainActivity.kt +++ b/examples/jetpack_compose/compose-ui/MainActivity.kt @@ -1,10 +1,10 @@ package cm.ben.android.bazel.compose.example.ui import android.os.Bundle +import androidx.activity.compose.setContent import androidx.appcompat.app.AppCompatActivity import androidx.compose.material.Text import androidx.compose.runtime.Composable -import androidx.compose.ui.platform.setContent class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) {