1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- plugins {
- id 'com.android.library'
- id 'kotlin-android'
- }
- android {
- compileSdk 34
- defaultConfig {
- minSdkVersion 21
- targetSdkVersion 34
- consumerProguardFiles "consumer-rules.pro"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = '1.8'
- }
- namespace 'com.rc.httpcore'
- }
- dependencies {
- implementation fileTree(dir: "libs", include: ["*.jar"])
- implementation "org.jetbrains.kotlin:kotlin-stdlib:1.9.0"
- implementation "androidx.core:core-ktx:1.3.1"
- implementation "androidx.localbroadcastmanager:localbroadcastmanager:1.0.0"
- api "com.squareup.retrofit2:retrofit:2.9.0"
- implementation "com.squareup.retrofit2:converter-gson:2.9.0"
- implementation "com.squareup.retrofit2:converter-scalars:2.9.0"
- implementation "com.squareup.retrofit2:adapter-rxjava2:2.9.0"
- implementation "com.squareup.okhttp3:logging-interceptor:3.14.9"
- api "io.reactivex.rxjava2:rxjava:2.2.21"
- api "io.reactivex.rxjava2:rxandroid:2.1.1"
- api "com.google.code.gson:gson:2.8.6"
- // implementation dep.luban
- }
|