blob: d08029386af1c70d3d617abc85dda03ef04a56a4 [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 {
27 java.srcDirs = ['src']
28 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 }
40}
41
42
43repositories {
44 mavenCentral()
45 google()
46}
47
48dependencies {
49 implementation "androidx.core:core:${ANDROID_X_VERSION}"
50}