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