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" } kotlinOptions { jvmTarget = "1.8" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) //Kotlin api kotlinLibraries.kotlinStdlib api kotlinLibraries.kotlinReflect api kotlinLibraries.kotlinCoroutines api kotlinLibraries.kotlinAndroidCoroutines //AndroidX compileOnly androidLibraries.appcompat compileOnly androidLibraries.recyclerView compileOnly androidLibraries.material }