Skip to content

Commit a5ab36f

Browse files
authored
Move async-profiler dependencies into toml file (#4896)
* Move async-profiler dependencies into toml file * reuse async profiler version
1 parent a416a65 commit a5ab36f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

gradle/libs.versions.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ androidxLifecycle = "2.2.0"
44
androidxNavigation = "2.4.2"
55
androidxTestCore = "1.7.0"
66
androidxCompose = "1.6.3"
7+
asyncProfiler = "4.2"
78
composeCompiler = "1.5.14"
89
coroutines = "1.6.1"
910
espresso = "3.7.0"
@@ -93,6 +94,8 @@ androidx-navigation-compose = { module = "androidx.navigation:navigation-compose
9394
androidx-sqlite = { module = "androidx.sqlite:sqlite", version = "2.5.2" }
9495
androidx-recyclerview = { module = "androidx.recyclerview:recyclerview", version = "1.2.1" }
9596
androidx-browser = { module = "androidx.browser:browser", version = "1.8.0" }
97+
async-profiler = { module = "tools.profiler:async-profiler", version.ref = "asyncProfiler" }
98+
async-profiler-jfr-converter = { module = "tools.profiler:jfr-converter", version.ref = "asyncProfiler" }
9699
coil-compose = { module = "io.coil-kt:coil-compose", version = "2.6.0" }
97100
commons-compress = {module = "org.apache.commons:commons-compress", version = "1.25.0"}
98101
context-propagation = { module = "io.micrometer:context-propagation", version = "1.1.0" }

sentry-async-profiler/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ kotlin { explicitApi() }
2020
dependencies {
2121
api(projects.sentry)
2222

23-
implementation("tools.profiler:async-profiler:4.2")
24-
implementation("tools.profiler:jfr-converter:4.2")
23+
implementation(libs.async.profiler)
24+
implementation(libs.async.profiler.jfr.converter)
2525

2626
compileOnly(libs.jetbrains.annotations)
2727
compileOnly(libs.nopen.annotations)

0 commit comments

Comments
 (0)