1apply plugin: 'com.android.library' 2 3android { 4 compileSdkVersion COMPILE_SDK 5 buildToolsVersion BUILD_TOOLS_VERSION 6 7 defaultConfig { 8 minSdkVersion 26 9 targetSdkVersion 28 10 } 11 12 sourceSets { 13 main { 14 java.srcDirs = ['src', 'src_full_lib'] 15 manifest.srcFile 'AndroidManifest.xml' 16 res.srcDirs = ['res'] 17 } 18 } 19 20 lintOptions { 21 abortOnError false 22 } 23 24 tasks.withType(JavaCompile) { 25 options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" 26 } 27 28 compileOptions { 29 sourceCompatibility JavaVersion.VERSION_1_8 30 targetCompatibility JavaVersion.VERSION_1_8 31 } 32} 33 34dependencies { 35 implementation "androidx.core:core:${ANDROID_X_VERSION}" 36} 37