apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { compileSdkVersion rootProject.compileSdkVersion buildToolsVersion rootProject.buildToolsVersion defaultConfig { minSdkVersion rootProject.minSdkVersion targetSdkVersion rootProject.targetSdkVersion versionCode 1 versionName "1.0" } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = "1.8" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } lintOptions { abortOnError false } } dependencies { implementation androidLibraries.annotation implementation thirdLibraries.supportOptional implementation thirdLibraries.timber implementation thirdLibraries.retrofit implementation thirdLibraries.retrofitConverterGson implementation thirdLibraries.okHttp implementation thirdLibraries.gson implementation thirdLibraries.rxJava implementation thirdLibraries.retrofitRxJava2CallAdapter implementation kotlinLibraries.kotlinStdlib implementation kotlinLibraries.kotlinCoroutines }