Closed Alvazz closed 3 years ago
// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext.kotlin_version = "1.4.20" repositories { google() jcenter() } dependencies { classpath "com.android.tools.build:gradle:4.1.1" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { google() jcenter() maven { url "https://jitpack.io" } } } task clean(type: Delete) { delete rootProject.buildDir }
plugins { id 'com.android.application' id 'kotlin-android' id 'kotlin-kapt' id 'com.jakewharton.butterknife' } kapt { correctErrorTypes = true } android { compileSdkVersion 30 buildToolsVersion "30.0.2" defaultConfig { applicationId "com.bbai.xcx" minSdkVersion 21 targetSdkVersion 30 versionCode 1 versionName "1.0" multiDexEnabled true testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" renderscriptTargetApi 30 renderscriptSupportModeEnabled true } 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' } } dependencies { // MultiDex implementation 'androidx.multidex:multidex:2.0.1' // Kotlin implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version" implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9' // Support Libraries implementation 'androidx.core:core-ktx:1.3.2' implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'com.google.android.material:material:1.2.1' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' // Uber kapt 'com.uber.rib:rib-compiler-test:0.9.2' implementation 'com.uber.rib:rib-android:0.9.2' implementation 'com.uber.rib:rib-workflow:0.9.2' implementation 'com.uber.rib:rib-screen-stack-base:0.9.2' implementation 'com.uber.rib:rib-router-navigator:0.9.2' testImplementation 'com.uber.rib:rib-test-utils:0.9.2' // RxJava implementation 'io.reactivex.rxjava2:rxjava:2.2.20' implementation 'io.reactivex.rxjava2:rxandroid:2.1.1' implementation 'io.reactivex.rxjava2:rxkotlin:2.4.0' // RxBinding implementation 'com.jakewharton.rxrelay2:rxrelay:2.1.1' implementation 'com.jakewharton.rxbinding2:rxbinding-appcompat-v7-kotlin:2.2.0' implementation 'com.jakewharton.rxbinding2:rxbinding-recyclerview-v7-kotlin:2.2.0' implementation 'com.jakewharton.rxbinding2:rxbinding-support-v4-kotlin:2.2.0' // Dagger kapt 'com.google.dagger:dagger-android-processor:2.30' kapt 'com.google.dagger:dagger-compiler:2.30' implementation 'com.google.dagger:dagger:2.30' implementation 'com.google.dagger:dagger-android:2.30' implementation 'com.google.dagger:dagger-android-support:2.30' // Retrofit implementation 'com.squareup.retrofit2:retrofit:2.9.0' implementation 'com.squareup.retrofit2:converter-moshi:2.9.0' implementation 'com.squareup.retrofit2:adapter-rxjava2:2.9.0' // OkHttp implementation 'com.squareup.okhttp3:okhttp:4.9.0' // Extras kapt 'com.github.bumptech.glide:compiler:4.11.0' implementation 'com.github.bumptech.glide:glide:4.11.0' implementation 'com.airbnb.android:lottie:3.5.0' implementation 'com.facebook.stetho:stetho:1.5.1' implementation 'com.orhanobut:logger:2.2.0' // UI // implementation 'nl.joery.animatedbottombar:library:1.0.9' // implementation 'com.github.liangjingkanji:StatusBar:1.1.0' // implementation 'com.zackratos.ultimatebarx:ultimatebarx:0.2.2' // implementation 'com.github.Ye-Miao:StatusBarUtil:1.7.5' implementation 'com.gyf.immersionbar:immersionbar:3.0.0' implementation 'com.gyf.immersionbar:immersionbar-components:3.0.0' implementation 'com.gyf.immersionbar:immersionbar-ktx:3.0.0' // implementation 'com.github.liangjingkanji:BRV:1.3.16' // implementation 'com.kevin:delegationadapter:2.0.2' // implementation 'com.kevin:delegationadapter-extras:2.0.2' implementation 'com.scwang.smart:refresh-layout-kernel:2.0.1' implementation 'com.scwang.smart:refresh-header-radar:2.0.1' implementation 'com.kevin:loopview:2.0.0' implementation 'com.sunfusheng:MarqueeView:1.4.1' // Epoxy implementation "com.airbnb.android:epoxy:4.2.0" // Add the annotation processor if you are using Epoxy's annotations (recommended) annotationProcessor "com.airbnb.android:epoxy-processor:4.2.0" // Test testImplementation 'junit:junit:4.13.1' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' }
solved.
I found same issue @Alvazz, how did you fixed it?