123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- 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.0"
- 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 "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'
- api 'com.squareup.moshi:moshi-kotlin:1.8.0'
- kapt 'com.squareup.moshi:moshi-kotlin-codegen:1.8.0'
- compileOnly 'androidx.appcompat:appcompat:1.1.0'
- compileOnly 'com.github.liangjingkanji:BRV:1.0.5'
- compileOnly 'io.reactivex.rxjava2:rxandroid:2.1.1'
- }
|