1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- plugins {
- id 'com.android.library'
- id 'org.jetbrains.kotlin.android'
- }
- android {
- compileSdk 31
- defaultConfig {
- minSdk 21
- targetSdk 27
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- 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'
- }
- sourceSets {
- main {
- jniLibs.srcDirs = ['libs']
- }
- }
- }
- dependencies {
- api 'androidx.core:core-ktx:1.6.0'
- api 'androidx.appcompat:appcompat:1.3.0'
- api 'com.google.android.material:material:1.4.0'
- api 'androidx.constraintlayout:constraintlayout:2.1.3'
- api "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1"
- api "androidx.lifecycle:lifecycle-livedata-core-ktx:2.3.1"
- api 'com.alibaba:arouter-api:1.5.1'
- api "com.android.support:multidex:1.0.3"
- //retrofit
- api('com.squareup.retrofit2:retrofit:2.9.0')
- api('com.squareup.okhttp3:okhttp:4.9.0')
- api('com.squareup.okio:okio:2.9.0')
- api 'com.squareup.okhttp3:logging-interceptor:3.6.0'
- api('com.google.code.gson:gson:2.8.7')
- api "com.android.support:multidex:1.0.3"
- api 'com.tencent:mmkv-static:1.2.10'
- api 'com.yanzhenjie:permission:2.0.3'
- api 'androidx.fragment:fragment-ktx:1.3.2'
- api 'com.github.bumptech.glide:glide:4.12.0'
- api "com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4"
- //适配刘海屏水滴屏等全面屏工具
- api 'com.github.smarxpan:NotchScreenTool:0.0.1'
- api 'cn.aigestudio.wheelpicker:WheelPicker:1.1.3'
- api "com.youth.banner:banner:2.1.0"
- //eventbus
- api 'org.greenrobot:eventbus:3.2.0'
- api 'androidx.databinding:databinding-runtime:4.2.2'
- api 'com.google.android.flexbox:flexbox:3.0.0'
- api 'com.github.princekin-f:EasyFloat:2.0.4'
- api 'de.hdodenhof:circleimageview:3.1.0'
- api 'com.tencent.bugly:crashreport:4.1.9'
- api 'androidx.room:room-common:2.4.3'
- api 'androidx.room:room-runtime:2.4.3'
- api 'com.github.eurigo:dexmakerhook:1.0'
- api 'com.blankj:utilcodex:1.31.0'
- api 'com.google.zxing:core:3.3.0'
- api files('libs/android-serialport-2.1.2.aar')
- api files('libs/cofar-cooking-device-sdk-0.0.1-SNAPSHOT.jar')
- api files('libs/commons-lang3-3.12.0.jar')
- api files('libs/commons-beanutils-1.9.4.jar')
- api "android.arch.lifecycle:extensions:1.1.1"
- api 'com.github.azhon:AppUpdate:4.2.2'
- }
|