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.library") 21 id("org.jetbrains.kotlin.android") 22} 23 24android { 25 compileSdk = 35 26 namespace = "androidx.compose.integration.hero.jetsnack.implementation" 27 28 lint { 29 // These projects should use the external lint checks to simulate real world development 30 disable += ['PrimitiveInCollection', 'AsCollectionCall'] 31 } 32 33 buildTypes { 34 release { 35 minifyEnabled = false 36 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 37 } 38 } 39 40} 41 42dependencies { 43 implementation("androidx.appcompat:appcompat:1.6.1") 44 implementation("androidx.recyclerview:recyclerview:1.2.1") 45 implementation("androidx.constraintlayout:constraintlayout:2.1.4") 46 implementation("androidx.cardview:cardview:1.0.0") 47 48 implementation(libs.kotlinStdlib) 49 implementation("androidx.activity:activity-compose:1.10.1") 50 implementation(project(":compose:foundation:foundation-layout")) 51 implementation(project(":compose:foundation:foundation")) 52 implementation(project(":compose:material:material")) 53 implementation(project(":compose:material3:material3")) 54 implementation("androidx.compose.material:material-icons-core:1.6.7") 55 implementation(project(":compose:runtime:runtime")) 56 implementation(project(":compose:runtime:runtime-tracing")) 57 implementation(project(":compose:ui:ui")) 58 implementation(project(":compose:ui:ui-tooling")) 59} 60