| /** |
| * This file was created using the `create_project.py` script located in the |
| * `<AndroidX root>/development/project-creator` directory. |
| * |
| * Please use that script when creating a new project, rather than copying an existing project and |
| * modifying its settings. |
| */ |
| plugins { |
| id("AndroidXPlugin") |
| id("AndroidXComposePlugin") |
| id("com.android.application") |
| id("org.jetbrains.kotlin.android") |
| } |
| |
| android { |
| compileSdk = 35 |
| namespace = "androidx.compose.integration.macrobenchmark.target" |
| buildTypes { |
| release { |
| minifyEnabled = true |
| shrinkResources = true |
| proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), |
| 'proguard-rules.pro' |
| } |
| } |
| buildFeatures { |
| viewBinding = true |
| } |
| } |
| |
| dependencies { |
| implementation("androidx.recyclerview:recyclerview:1.2.1") |
| implementation("androidx.viewpager2:viewpager2:1.0.0") |
| |
| implementation(libs.kotlinStdlib) |
| implementation(libs.material) |
| implementation(project(":activity:activity-compose")) |
| implementation("androidx.appcompat:appcompat:1.4.1") |
| implementation("androidx.cardview:cardview:1.0.0") |
| // old version of common-java8 conflicts with newer version, because both have |
| // DefaultLifecycleEventObserver. |
| // Outside of androidx this is resolved via constraint added to lifecycle-common, |
| // but it doesn't work in androidx. |
| // See aosp/1804059 |
| implementation "androidx.lifecycle:lifecycle-common-java8:2.5.1" |
| implementation(project(":compose:foundation:foundation-layout")) |
| implementation(project(":compose:foundation:foundation")) |
| implementation(project(":compose:material:material")) |
| implementation("androidx.compose.material:material-icons-core:1.6.7") |
| implementation(project(":compose:material3:material3")) |
| implementation(project(":compose:runtime:runtime")) |
| implementation(project(":compose:runtime:runtime-tracing")) |
| implementation(project(":compose:ui:ui")) |
| implementation(project(":compose:ui:ui-tooling")) |
| implementation(project(":profileinstaller:profileinstaller")) |
| implementation(project(":constraintlayout:constraintlayout-compose")) |
| implementation("io.coil-kt:coil-compose:2.5.0") |
| } |