Skip to content

Commit 5c55648

Browse files
committed
Move benchmark app to compose
1 parent e9b6ba9 commit 5c55648

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

demo/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ dependencies {
5050
implementation(libs.androidx.datastore.preferences)
5151
implementation(libs.androidx.fragment)
5252
implementation(libs.androidx.lifecycle.livedata)
53-
implementation(libs.androidx.lifecycle.runtime)
53+
implementation(libs.androidx.lifecycle.runtime.ktx)
5454
implementation(libs.androidx.lifecycle.viewmodel)
5555
implementation(libs.androidx.navigation.fragment)
5656
implementation(libs.androidx.navigation.ui)

engine/benchmarks/app/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ dependencies {
5252
implementation(libs.androidx.datastore.preferences)
5353
implementation(libs.androidx.fragment)
5454
implementation(libs.androidx.lifecycle.livedata)
55-
implementation(libs.androidx.lifecycle.runtime)
55+
implementation(libs.androidx.lifecycle.runtime.ktx)
5656
implementation(libs.androidx.lifecycle.viewmodel)
5757
implementation(libs.androidx.profileinstaller)
5858
implementation(libs.androidx.work.runtime)

gradle/libs.versions.toml

+7-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ androidx-appcompat = "1.6.1"
99
androidx-arch-core = "2.2.0"
1010
androidx-benchmark = "1.3.4"
1111
androidx-benchmark-macro = "1.3.4"
12+
androidx-compose-activity = "1.10.1"
13+
androidx-compose-bom = "2025.02.00"
1214
androidx-constraintlayout = "2.1.4"
1315
androidx-core = "1.10.1"
1416
androidx-datastore = "1.0.0"
@@ -46,13 +48,17 @@ androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "a
4648
androidx-arch-core-testing = { module = "androidx.arch.core:core-testing", version.ref = "androidx-arch-core" }
4749
androidx-benchmark-junit4 = { module = "androidx.benchmark:benchmark-junit4", version.ref = "androidx-benchmark" }
4850
androidx-benchmark-macro-junit4 = { module = "androidx.benchmark:benchmark-macro-junit4", version.ref = "androidx-benchmark-macro" }
51+
androidx-compose-activity = { module = "androidx.activity:activity-compose", version.ref = "androidx-compose-activity" }
52+
androidx-compose-bom = { module = "androidx.compose:compose-bom", version.ref = "androidx-compose-bom" }
53+
androidx-compose-material3 = { module = "androidx.compose.material3:material3" }
54+
androidx-compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
4955
androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "androidx-constraintlayout" }
5056
androidx-core = { module = "androidx.core:core-ktx", version.ref = "androidx-core" }
5157
androidx-datastore-preferences = { module = "androidx.datastore:datastore-preferences", version.ref = "androidx-datastore" }
5258
androidx-fragment = { module = "androidx.fragment:fragment-ktx", version.ref = "androidx-fragment" }
5359
androidx-fragment-testing = { module = "androidx.fragment:fragment-testing", version.ref = "androidx-fragment" }
5460
androidx-lifecycle-livedata = { module = "androidx.lifecycle:lifecycle-livedata-ktx", version.ref = "androidx-lifecycle" }
55-
androidx-lifecycle-runtime = { module = "androidx.lifecycle:lifecycle-runtime", version.ref = "androidx-lifecycle" }
61+
androidx-lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "androidx-lifecycle" }
5662
androidx-lifecycle-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "androidx-lifecycle" }
5763
androidx-navigation-fragment = { module = "androidx.navigation:navigation-fragment-ktx", version.ref = "androidx-navigation" }
5864
androidx-navigation-ui = { module = "androidx.navigation:navigation-ui-ktx", version.ref = "androidx-navigation" }

0 commit comments

Comments
 (0)