• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
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 {
19    compileSdkVersion 'android-Q'
20
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'
35        java.srcDirs = ['main/java', 'partnerconfig/java']
36        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}
49