diff --git a/baselineProfile/build.gradle.kts b/baselineProfile/build.gradle.kts index 56bda95..e724fc6 100644 --- a/baselineProfile/build.gradle.kts +++ b/baselineProfile/build.gradle.kts @@ -8,20 +8,20 @@ plugins { android { namespace = "com.anthonyla.paperize.baselineprofile" - compileSdk = 34 + compileSdk = 35 compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = "1.8" + jvmTarget = "17" } defaultConfig { minSdk = 28 - targetSdk = 34 + targetSdk = 35 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } @@ -48,10 +48,10 @@ baselineProfile { } dependencies { - implementation("androidx.test.ext:junit:1.2.1") - implementation("androidx.test.espresso:espresso-core:3.6.1") - implementation("androidx.test.uiautomator:uiautomator:2.3.0") - implementation("androidx.benchmark:benchmark-macro-junit4:1.3.2") + implementation(libs.androidx.junit) + implementation(libs.androidx.espresso.core) + implementation(libs.androidx.uiautomator) + implementation(libs.androidx.benchmark.macro.junit4) } androidComponents { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 33efd61..1cd70f7 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,6 @@ [versions] androidGradlePlugin = "8.7.0" +benchmarkMacroJunit4 = "1.3.2" kotlin = "2.0.21" hilt = "2.52" ksp = "2.0.21-1.0.25" @@ -40,6 +41,7 @@ roomCompiler = "2.6.1" taskerpluginlibrary = "0.4.10" toolbarCompose = "2.3.5" ui = "1.7.3" +uiautomatorVersion = "2.3.0" workRuntimeKtx = "2.10.0-beta01" zoomable = "2.0.0-beta01" @@ -49,6 +51,7 @@ aboutlibraries-core = { module = "com.mikepenz:aboutlibraries-core", version.ref accompanist-permissions = { module = "com.google.accompanist:accompanist-permissions", version.ref = "accompanistPermissions" } androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activityCompose" } androidx-animation = { module = "androidx.compose.animation:animation", version.ref = "animation" } +androidx-benchmark-macro-junit4 = { module = "androidx.benchmark:benchmark-macro-junit4", version.ref = "benchmarkMacroJunit4" } androidx-compose-bom = { module = "androidx.compose:compose-bom", version.ref = "composeBom" } androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "coreKtx" } androidx-core-splashscreen = { module = "androidx.core:core-splashscreen", version.ref = "coreSplashscreen" } @@ -76,6 +79,7 @@ androidx-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4", versi androidx-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest", version.ref = "ui" } androidx-ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "ui" } androidx-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "ui" } +androidx-uiautomator = { module = "androidx.test.uiautomator:uiautomator", version.ref = "uiautomatorVersion" } androidx-work-runtime-ktx = { module = "androidx.work:work-runtime-ktx", version.ref = "workRuntimeKtx" } dfc = { module = "com.lazygeniouz:dfc", version.ref = "dfc" } filament-android = { module = "com.google.ar.sceneform:filament-android", version.ref = "filamentAndroid" }