1/* 2 * Copyright 2024 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17plugins { 18 id("AndroidXPlugin") 19 id("AndroidXComposePlugin") 20 id("com.android.application") 21 id("org.jetbrains.kotlin.android") 22} 23 24android { 25 compileSdk = 35 26 namespace = "androidx.compose.integration.hero.jetsnack.macrobenchmark.target" 27 28 buildTypes { 29 release { 30 minifyEnabled = true 31 shrinkResources = true 32 proguardFiles getDefaultProguardFile("proguard-android-optimize.txt") 33 } 34 } 35} 36 37dependencies { 38 implementation("androidx.recyclerview:recyclerview:1.2.1") 39 implementation("androidx.viewpager2:viewpager2:1.0.0") 40 41 implementation(libs.kotlinStdlib) 42 implementation(libs.androidx.activity.compose) 43 implementation("androidx.appcompat:appcompat:1.4.1") 44 implementation("androidx.cardview:cardview:1.0.0") 45 implementation("androidx.constraintlayout:constraintlayout:2.1.4") 46 implementation(project(":compose:foundation:foundation-layout")) 47 implementation(project(":compose:foundation:foundation")) 48 implementation(project(":compose:material:material")) 49 implementation(project(":compose:material3:material3")) 50 implementation(project(":compose:runtime:runtime")) 51 implementation(project(":compose:runtime:runtime-tracing")) 52 implementation(project(":compose:ui:ui")) 53 implementation(project(":compose:ui:ui-tooling")) 54 implementation(project(":profileinstaller:profileinstaller")) 55 56 implementation(project(":compose:integration-tests:hero:jetsnack:jetsnack-implementation")) 57} 58