blob: f6a820ae985c1ecf2283fcc9d9b5140a852c18ad [file] [log] [blame]
Hyunyoung Song719eee22018-11-01 23:12:54 -07001buildscript {
2 repositories {
3 mavenCentral()
4 google()
5 }
6 dependencies {
7 classpath GRADLE_CLASS_PATH
8 }
9}
10
11apply plugin: 'com.android.library'
12
13android {
14 compileSdkVersion COMPILE_SDK.toInteger()
15 buildToolsVersion BUILD_TOOLS_VERSION
16 publishNonDefault true
17
18 defaultConfig {
19 minSdkVersion 21
20 targetSdkVersion 28
21 versionCode 1
22 versionName "1.0"
23 }
24
25 sourceSets {
26 main {
Sunny Goyal202fabf2018-11-09 11:13:10 -080027 java.srcDirs = ['src', 'src_full_lib']
Hyunyoung Song719eee22018-11-01 23:12:54 -070028 manifest.srcFile 'AndroidManifest.xml'
29 res.srcDirs = ['res']
30 }
31 }
32
33 lintOptions {
34 abortOnError false
35 }
36
37 tasks.withType(JavaCompile) {
38 options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
39 }
Sunny Goyal9a4c5be2018-11-07 13:15:46 -080040
41 compileOptions {
42 sourceCompatibility JavaVersion.VERSION_1_8
43 targetCompatibility JavaVersion.VERSION_1_8
44 }
Hyunyoung Song719eee22018-11-01 23:12:54 -070045}
46
47
48repositories {
49 mavenCentral()
50 google()
51}
52
53dependencies {
54 implementation "androidx.core:core:${ANDROID_X_VERSION}"
55}