blob: 8a4d2b76e56cc499295cf808ac9d1cfaf2dadbb6 [file] [log] [blame]
Hyunyoung Song719eee22018-11-01 23:12:54 -07001apply plugin: 'com.android.library'
2
3android {
Sunny Goyala5de7c72019-01-30 11:40:38 -08004 compileSdkVersion COMPILE_SDK
Hyunyoung Song719eee22018-11-01 23:12:54 -07005 buildToolsVersion BUILD_TOOLS_VERSION
6 publishNonDefault true
7
8 defaultConfig {
Sunny Goyal8c48d8b2019-01-25 15:10:18 -08009 minSdkVersion 25
Hyunyoung Song719eee22018-11-01 23:12:54 -070010 targetSdkVersion 28
11 versionCode 1
12 versionName "1.0"
13 }
14
15 sourceSets {
16 main {
Sunny Goyal202fabf2018-11-09 11:13:10 -080017 java.srcDirs = ['src', 'src_full_lib']
Hyunyoung Song719eee22018-11-01 23:12:54 -070018 manifest.srcFile 'AndroidManifest.xml'
19 res.srcDirs = ['res']
20 }
21 }
22
23 lintOptions {
24 abortOnError false
25 }
26
27 tasks.withType(JavaCompile) {
28 options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
29 }
Sunny Goyal9a4c5be2018-11-07 13:15:46 -080030
31 compileOptions {
32 sourceCompatibility JavaVersion.VERSION_1_8
33 targetCompatibility JavaVersion.VERSION_1_8
34 }
Hyunyoung Song719eee22018-11-01 23:12:54 -070035}
36
Hyunyoung Song719eee22018-11-01 23:12:54 -070037dependencies {
38 implementation "androidx.core:core:${ANDROID_X_VERSION}"
39}