1/** 2 * This file was created using the `create_project.py` script located in the 3 * `<AndroidX root>/development/project-creator` directory. 4 * 5 * Please use that script when creating a new project, rather than copying an existing project and 6 * modifying its settings. 7 */ 8plugins { 9 id("AndroidXPlugin") 10 id("com.android.application") 11 id("org.jetbrains.kotlin.android") 12} 13 14dependencies { 15 api(libs.jspecify) 16 api(libs.kotlinStdlib) 17 18 implementation(project(":appcompat:appcompat")) 19 implementation(project(":appcompat:appcompat-resources")) 20 implementation(project(":cardview:cardview")) 21 implementation(project(":core:core")) 22 implementation(project(":drawerlayout:drawerlayout")) 23 implementation(project(":gridlayout:gridlayout")) 24 implementation(project(":palette:palette")) 25 implementation(project(":recyclerview:recyclerview")) 26 implementation(project(":recyclerview:recyclerview-selection")) 27 implementation(libs.material) 28 implementation(libs.androidx.annotation) 29 implementation("androidx.collection:collection:1.4.2") 30 implementation("androidx.loader:loader:1.0.0") 31 implementation("androidx.cursoradapter:cursoradapter:1.0.0") 32 implementation("androidx.lifecycle:lifecycle-viewmodel:2.6.2") 33 implementation("androidx.fragment:fragment:1.5.4") 34 implementation("androidx.coordinatorlayout:coordinatorlayout:1.1.0") 35 implementation("androidx.viewpager:viewpager:1.0.0") 36} 37 38android { 39 buildTypes { 40 release { 41 minifyEnabled = true 42 proguardFiles getDefaultProguardFile("proguard-android-optimize.txt") 43 } 44 } 45 compileSdk = 36 46 defaultConfig { 47 vectorDrawables.useSupportLibrary = true 48 } 49 lint { 50 disable.add("WrongThread") 51 } 52 namespace = "com.example.androidx" 53} 54