xref: /aosp_15_r20/external/connectedappssdk/tests/shared/testapp/build.gradle (revision 27eda0084a137a3c4c52875b384c53ea95161e62)
1buildscript {
2    repositories {
3        mavenCentral()
4    }
5}
6
7plugins {
8    id 'com.android.library'
9}
10
11dependencies {
12    api project(path: ':connectedapps-testapp_additional_types')
13    api project(path: ':connectedapps-testapp_basictypes')
14    api project(path: ':connectedapps-testapp_configuration')
15    api project(path: ':connectedapps-testapp_connector')
16    api project(path: ':connectedapps-testapp_types')
17    api project(path: ':connectedapps-testapp_types_providers')
18    api project(path: ':connectedapps-testapp_wrappers')
19}
20
21android {
22    defaultConfig {
23        compileSdkVersion 30
24        minSdkVersion 26
25    }
26
27    testOptions.unitTests.includeAndroidResources = true
28
29    compileOptions {
30        sourceCompatibility JavaVersion.VERSION_1_8
31        targetCompatibility JavaVersion.VERSION_1_8
32    }
33
34    sourceSets {
35        main {
36            java.srcDirs = []
37            manifest.srcFile 'AndroidManifest.xml'
38        }
39    }
40}
41