blob: 739830577698b7ce80a10aeb135c749bb6018c36 [file] [log] [blame]
pastychangb5345f32019-02-26 17:38:27 +08001/**
2 * Include this gradle file if you are building against this as a standalone gradle library project,
3 * as opposed to building it as part of the git-tree. This is typically the file you want to include
4 * if you create a new project in Android Studio.
5 *
6 * For example, you can include the following in your settings.gradle file:
7 * include ':setupcompat'
8 * project(':setupcompat').projectDir = new File(PATH_TO_THIS_DIRECTORY)
9 *
10 * And then you can include the :setupcompat project as one of your dependencies
11 * dependencies {
12 * implementation project(path: ':setupcompat')
13 * }
14 */
15
16apply plugin: 'com.android.library'
17
18android {
Hunter Knepshield5c8cae42019-05-09 17:36:57 -070019 // Not specifying compileSdkVersion here so clients can specify it; must be at least Q
pastychangb5345f32019-02-26 17:38:27 +080020
21 defaultConfig {
22 minSdkVersion 14
23 targetSdkVersion 28
24 }
25
26 buildTypes {
27 release {
28 minifyEnabled false
29 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard.flags'
30 }
31 }
32
33 sourceSets.main {
34 manifest.srcFile 'AndroidManifest.xml'
Setup Wizard Team1ed30732019-03-14 10:00:10 +080035 java.srcDirs = ['main/java', 'partnerconfig/java']
pastychangb5345f32019-02-26 17:38:27 +080036 aidl.srcDirs = ['main/aidl']
37 res.srcDirs = ['main/res']
38 }
39
40 compileOptions {
41 sourceCompatibility JavaVersion.VERSION_1_8
42 targetCompatibility JavaVersion.VERSION_1_8
43 }
44}
45
46dependencies {
47 implementation "androidx.annotation:annotation:1.0.0"
48}