1 /**
2  * This is an adaptation of the build.gradle found in external/setupdesign/lottie_loading_layout.
3  * There are certain classes that must be modified in order to work with the sysui studio build.
4  */
<lambda>null5 plugins {
6   id("com.android.library")
7     id("org.jetbrains.kotlin.android")
8 }
9 
10 val top = extra["ANDROID_TOP"].toString()
11 
<lambda>null12 android {
13   namespace = "com.google.android.setupdesign.lottieloadinglayout"
14   defaultConfig {
15     vectorDrawables.useSupportLibrary = true
16   }
17 
18   buildTypes {
19     release {
20       isMinifyEnabled = false
21     }
22   }
23 
24   sourceSets {
25     sourceSets.getByName("main") {
26       manifest.srcFile("$top/external/setupdesign/lottie_loading_layout/AndroidManifest.xml")
27       java.srcDirs(listOf("src", "$top/external/setupdesign/lottie_loading_layout/src"))
28       res.srcDirs(listOf("$top/external/setupdesign/lottie_loading_layout/res"))
29     }
30   }
31     kotlinOptions {
32         jvmTarget = "17"
33     }
34 }
35 
<lambda>null36 dependencies {
37   api(libs.androidx.annotation)
38   api(project(":setupcompat"))
39   api(project(":setupdesign"))
40   api(libs.com.airbnb.android.lottie)
41     implementation("androidx.core:core-ktx:+")
42 }
43