apply plugin: 'com.android.application' android { compileSdkVersion 29 buildToolsVersion "29.0.2" defaultConfig { applicationId "com.cnooc.exercise" minSdkVersion 21 targetSdkVersion 29 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" multiDexEnabled 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 } sourceSets { main { res.srcDirs = ['src/main/res', 'src/main/res/drawable-xhdpi'] } } viewBinding { enabled true } } repositories { flatDir { dirs 'aar' } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.0.2' implementation 'com.google.android.material:material:1.0.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'androidx.navigation:navigation-fragment:2.0.0' implementation 'androidx.navigation:navigation-ui:2.0.0' implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.2.0' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0' implementation project(path: ':LRecyclerview_library') implementation 'androidx.annotation:annotation:1.2.0' implementation 'androidx.constraintlayout:constraintlayout-core:1.0.0-beta03' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' implementation group: 'io.reactivex.rxjava2', name: 'rxjava', version: '2.2.14' implementation group: 'io.reactivex.rxjava2', name: 'rxandroid', version: '2.1.1' implementation group: 'com.orhanobut', name: 'logger', version: '2.2.0' implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.2.2' implementation group: 'com.squareup.retrofit2', name: 'retrofit', version: '2.6.2' implementation group: 'com.squareup.okhttp3', name: 'logging-interceptor', version: '4.2.2' implementation group: 'com.squareup.retrofit2', name: 'adapter-rxjava', version: '2.6.2' implementation group: 'com.squareup.retrofit2', name: 'converter-gson', version: '2.6.2' implementation group: 'com.facebook.stetho', name: 'stetho', version: '1.5.1' implementation group: 'com.facebook.stetho', name: 'stetho-okhttp3', version: '1.5.1' implementation group: 'com.jakewharton', name: 'disklrucache', version: '2.0.2' implementation group: 'com.google.zxing', name: 'core', version: '3.4.0' implementation 'androidx.appcompat:appcompat:1.0.2' implementation group: 'com.github.bumptech.glide', name: 'glide', version: '4.10.0' implementation group: 'com.danikula', name: 'videocache', version: '2.7.0' implementation 'com.google.android.exoplayer:exoplayer:2.9.1' implementation 'androidx.multidex:multidex:2.0.0' implementation 'tv.danmaku.ijk.media:ijkplayer-java:0.8.8' implementation 'tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.4' implementation project(path: ':LRecyclerView') api 'com.android.support:support-annotations:20.0.0' implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' implementation 'com.android.volley:volley:1.2.1' implementation 'com.afollestad.material-dialogs:core:0.9.6.0' implementation 'com.github.donkingliang:ImageSelector:2.2.0' implementation 'org.xutils:xutils:3.3.40' implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0' implementation 'com.github.huangyanbin:SmartTable:2.2.0' }