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 } 11 12 sourceSets { 13 main { 14 java.srcDirs = ['src'] 15 manifest.srcFile 'AndroidManifest.xml' 16 } 17 } 18 19 lintOptions { 20 abortOnError false 21 } 22 23 tasks.withType(JavaCompile) { 24 options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" 25 } 26 27 compileOptions { 28 sourceCompatibility JavaVersion.VERSION_1_8 29 targetCompatibility JavaVersion.VERSION_1_8 30 } 31} 32 33dependencies { 34 implementation "androidx.core:core:${ANDROID_X_VERSION}" 35} 36