apply plugin: 'com.android.library' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' apply plugin: 'com.github.dcendents.android-maven' group = 'com.gitlab.liangjingkanji' android { compileSdkVersion 29 buildToolsVersion "29.0.2" defaultConfig { minSdkVersion 19 targetSdkVersion 29 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles 'consumer-rules.pro' } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.1.0' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test:runner:1.2.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' api 'com.yanzhenjie:okalle:0.1.7' compileOnly 'com.github.liangjingkanji:BRV:1.1.6' compileOnly 'com.github.bumptech.glide:glide:4.9.0' compileOnly 'io.reactivex.rxjava2:rxkotlin:2.3.0' compileOnly 'io.reactivex.rxjava2:rxandroid:2.1.1' }