File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed
build-logic/convention/src/main/kotlin
feature/foryou/src/main/kotlin/com/google/samples/apps/nowinandroid/feature/foryou Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ class AndroidFeatureConventionPlugin : Plugin<Project> {
4444 add(" implementation" , libs.findLibrary(" androidx.hilt.navigation.compose" ).get())
4545 add(" implementation" , libs.findLibrary(" androidx.lifecycle.runtimeCompose" ).get())
4646 add(" implementation" , libs.findLibrary(" androidx.lifecycle.viewModelCompose" ).get())
47+
48+ add(" implementation" , libs.findLibrary(" androidx.tracing.ktx" ).get())
4749 }
4850 }
4951 }
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import com.google.samples.apps.nowinandroid.configureGradleManagedDevices
2121import com.google.samples.apps.nowinandroid.configureKotlinAndroid
2222import com.google.samples.apps.nowinandroid.configurePrintApksTask
2323import com.google.samples.apps.nowinandroid.disableUnnecessaryAndroidTests
24+ import com.google.samples.apps.nowinandroid.libs
2425import org.gradle.api.Plugin
2526import org.gradle.api.Project
2627import org.gradle.kotlin.dsl.configure
@@ -51,6 +52,8 @@ class AndroidLibraryConventionPlugin : Plugin<Project> {
5152 }
5253 dependencies {
5354 add(" testImplementation" , kotlin(" test" ))
55+
56+ add(" implementation" , libs.findLibrary(" androidx.tracing.ktx" ).get())
5457 }
5558 }
5659 }
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ import androidx.compose.ui.tooling.preview.PreviewParameter
8181import androidx.compose.ui.unit.dp
8282import androidx.compose.ui.unit.max
8383import androidx.compose.ui.unit.sp
84- import androidx.compose.ui.util .trace
84+ import androidx.tracing .trace
8585import androidx.hilt.navigation.compose.hiltViewModel
8686import androidx.lifecycle.compose.collectAsStateWithLifecycle
8787import com.google.accompanist.permissions.ExperimentalPermissionsApi
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ androidxTestCore = "1.5.0"
2424androidxTestExt = " 1.1.5"
2525androidxTestRules = " 1.5.0"
2626androidxTestRunner = " 1.5.2"
27- androidxTracing = " 1.1.0 "
27+ androidxTracing = " 1.3.0-alpha02 "
2828androidxUiAutomator = " 2.2.0"
2929androidxWindowManager = " 1.2.0"
3030androidxWork = " 2.9.0"
You can’t perform that action at this time.
0 commit comments