Files
weiyu/visitor/android/Tutorial/myui/bytedesk-ui/build.gradle
jack ning 8a84e6b738 update
2024-04-05 15:53:09 +08:00

103 lines
3.8 KiB
Groovy
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
apply plugin: 'com.android.library'
android {
compileSdkVersion rootProject.ext.compileSdkVersion
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 202
versionName "2.0.4"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.bytedesk:libcore:2.8.0'
// 腾讯QMUI界面库
// http://qmuiteam.com/android/page/start.html
// https://bintray.com/chanthuang/qmuirepo
implementation 'com.qmuiteam:qmui:' + rootProject.qmuiVersion
implementation "com.qmuiteam:arch:" + rootProject.qmuiArchVersion
// 自定义相册样式
// https://github.com/yanzhenjie/Album
implementation 'com.yanzhenjie:album:2.1.3'
// 图片放大/查看/缩放
// https://github.com/albert-lii/ImageViewer
// implementation 'com.liyi.view:image-viewer:2.1.2'
// json 序列化/反序列化
implementation 'com.google.code.gson:gson:2.8.5'
// 事件总线
// https://github.com/greenrobot/EventBus
implementation 'org.greenrobot:eventbus:' + rootProject.eventbusVersion
// 会话列表左滑按钮
implementation 'com.yanzhenjie:recyclerview-swipe:1.2.1'
// 打印日志
// https://github.com/orhanobut/logger
implementation 'com.orhanobut:logger:2.2.0'
// https://developer.android.com/topic/libraries/architecture/adding-components.html
// ViewModel and LiveData
implementation "androidx.lifecycle:lifecycle-extensions:" + rootProject.archLifecycleVersion
// alternately - if using Java8, use the following instead of lifecycle-compiler
implementation "androidx.lifecycle:lifecycle-common-java8:" + rootProject.archLifecycleVersion
// optional - Test helpers for LiveData
// testImplementation "androidx.arch.core:core-testing:" + rootProject.archLifecycleVersion
implementation "androidx.room:room-runtime:" + rootProject.archRoomVersion
// https://mvnrepository.com/artifact/androidx.room/room-common
implementation "androidx.room:room-common:" + rootProject.archRoomVersion
// optional - RxJava support for Room
// implementation "androidx.room:room-rxjava2:" + rootProject.archRoomVersion
// optional - Guava support for Room, including Optional and ListenableFuture
// implementation "androidx.room:room-guava:" + rootProject.archRoomVersion
// Test helpers
// testImplementation "androidx.room:room-testing:" + rootProject.archRoomVersion
// 图片加载https://github.com/bumptech/glide
implementation 'com.github.bumptech.glide:glide:' + rootProject.glideVersion
annotationProcessor 'com.github.bumptech.glide:compiler:' + rootProject.glideVersion
// 扫描+生成二维码
implementation 'cn.bingoogolapple:bga-qrcode-zxing:1.3.6'
//
implementation 'androidx.appcompat:appcompat:' + rootProject.appcompatVersion
// https://mvnrepository.com/artifact/androidx.recyclerview/recyclerview
implementation 'androidx.recyclerview:recyclerview:' + rootProject.recyleviewxVersion
// https://github.com/googlesamples/easypermissions
// For developers using AndroidX in their applications
implementation 'pub.devrel:easypermissions:3.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
}