1 /**
2  * This is an adaptation of the build.gradle found in external/android_onboarding.
3  * There are certain classes that must be modified in order to work with the sysui studio build.
4  */
<lambda>null5 plugins {
6     id(libs.plugins.android.library.get().pluginId)
7     id(libs.plugins.kotlin.android.get().pluginId)
8     id(libs.plugins.kotlin.kapt.get().pluginId)
9 }
10 
11 val top = extra["ANDROID_TOP"].toString()
12 val moduleDir =
13     "$top/external/android_onboarding/src/com/android/onboarding/bedsteadonboarding/contractutils"
14 
<lambda>null15 android {
16     namespace = "com.android.onboarding.bedsteadonboarding.contractutils"
17     defaultConfig {
18         vectorDrawables.useSupportLibrary = true
19     }
20 
21     buildTypes {
22         release {
23             isMinifyEnabled = false
24         }
25     }
26 
27     sourceSets {
28         sourceSets.getByName("main") {
29             java.srcDirs(listOf("src", symlinkedSources(moduleDir) {
30                 include("ContractExecutionEligibilityChecker.kt")
31             }))
32         }
33     }
34 }
35 
36 dependencies {
37     api(project(":android_onboarding.bedsteadonboarding.providers"))
38     api(project(":android_onboarding.bedsteadonboarding.contractutils"))
39 }