Skip to content

Commit

Permalink
Restore androidx-benchmark-junit4.
Browse files Browse the repository at this point in the history
Signed-off-by: Kenneth J. Shackleton <[email protected]>
  • Loading branch information
kennethshackleton committed Apr 23, 2024
1 parent 6beb31f commit 66eb416
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions AndroidLibBenchmark/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ android {

dependencies {
androidTestImplementation(projects.selektAndroid)
androidTestImplementation(libs.androidx.benchmark.junit4)
androidTestImplementation(libs.androidx.test.ext)
androidTestImplementation(libs.androidx.test.rules)
androidTestImplementation(libs.androidx.test.runner)
androidTestImplementation(libs.junit.junit)
Expand Down
4 changes: 3 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# https://docs.gradle.org/current/userguide/platforms.html#sub:conventional-dependencies-toml

[versions]
benchmark = "1.2.4"
room = "2.6.1"

[libraries]
android-tools-lint = { group = "com.android.tools.lint", name = "lint", version = "31.3.2" }
android-tools-lint-api = { group = "com.android.tools.lint", name = "lint-api", version = "31.3.2" }
android-tools-gradle = { group = "com.android.tools.build", name = "gradle", version = "8.3.2" }
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version = "1.0.2" }
androidx-benchmark-junit4 = { group = "androidx.benchmark", name = "benchmark-junit4", version.ref = "benchmark" }
androidx-constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version = "1.1.3" }
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version = "1.0.2" }
androidx-paging = { group = "androidx.paging", name = "paging-runtime", version = "2.1.0" }
Expand Down Expand Up @@ -36,7 +38,7 @@ robolectric-android-all = { group = "org.robolectric", name = "android-all", ver
[bundles]

[plugins]
androidx-benchmark = { id = "androidx.benchmark", version = "1.2.4" }
androidx-benchmark = { id = "androidx.benchmark", version.ref = "benchmark" }
cash-licensee = { id = "app.cash.licensee", version = "1.6.0" }
detekt = { id = "io.gitlab.arturbosch.detekt", version = "1.22.0" }
dokka = { id = "org.jetbrains.dokka", version = "1.9.10" }
Expand Down

0 comments on commit 66eb416

Please sign in to comment.