apply from: rootProject.file('publishing.gradle') apply plugin: 'com.android.library' android { compileSdkVersion 29 useLibrary 'org.apache.http.legacy' defaultConfig { minSdkVersion 24 // https://developer.android.com/reference/javax/net/ssl/X509ExtendedTrustManager targetSdkVersion 29 } packagingOptions { exclude 'META-INF/DEPENDENCIES' } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } testOptions { unitTests.includeAndroidResources = true } } dependencies { api (project(':aws-android-sdk-core')) { exclude group: 'com.google.android', module: 'android' } implementation 'androidx.annotation:annotation:1.1.0' implementation project(path: ':aws-android-sdk-mobile-client') //noinspection DuplicatePlatformClasses compileOnly 'org.apache.httpcomponents:httpclient:4.5.12' compileOnly 'com.github.spotbugs:spotbugs-annotations:3.1.3' testImplementation 'junit:junit:4.13.1' testImplementation 'androidx.test:core:1.4.0' testImplementation 'com.google.truth:truth:1.1.2' testImplementation 'org.robolectric:robolectric:4.4' }