1 /** 2 * This is a copy of external/setupcompat/build.gradle tailored for the library"s inclusion in 3 * sysui studio builds. 4 */ 5 <lambda>null6plugins { 7 id("com.android.library") 8 id("org.jetbrains.kotlin.android") 9 } 10 11 val top = extra["ANDROID_TOP"].toString() 12 <lambda>null13android { 14 namespace = "com.google.android.setupcompat" 15 buildTypes { 16 release { 17 isMinifyEnabled = false 18 proguardFiles(getDefaultProguardFile("proguard-android.txt"), "$top/external/setupcompat/proguard.flags") 19 } 20 } 21 22 sourceSets { 23 sourceSets.getByName("main") { 24 manifest.srcFile("$top/external/setupcompat/AndroidManifest.xml") 25 java.srcDirs(listOf( 26 "$top/external/setupcompat/main/java", 27 "$top/external/setupcompat/partnerconfig/java", 28 )) 29 aidl.srcDirs(listOf("$top/external/setupcompat/main/aidl")) 30 res.srcDirs(listOf("$top/external/setupcompat/main/res")) 31 } 32 } 33 buildFeatures { 34 aidl = true 35 } 36 kotlinOptions { 37 jvmTarget = "17" 38 } 39 } 40 <lambda>null41dependencies { 42 implementation(libs.androidx.annotation) 43 implementation(libs.errorprone.annotations) 44 implementation(libs.androidx.window) 45 implementation("androidx.core:core-ktx:+") 46 } 47