DroneSag/app/build.gradle

126 lines
4.5 KiB
Groovy
Raw Normal View History

2024-12-06 14:23:57 +08:00
import java.security.MessageDigest
apply plugin: 'com.android.application'
android {
compileSdkVersion 33
buildToolsVersion '30.0.0'
defaultConfig {
applicationId "com.bonus.droneSag"
minSdkVersion 25
targetSdkVersion 30
versionCode 1
versionName "1.0.1"
multiDexEnabled true
ndk {
//noinspection ChromeOsAbiSupport
abiFilters "armeabi","armeabi-v7a","arm64-v8a","mips"
}
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions {
annotationProcessorOptions {
arguments = [moduleName: project.getName()]
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildFeatures {
dataBinding = true
}
}
repositories {
flatDir {
dirs 'libs'
}
}
dependencies {
implementation fileTree(dir: "libs", include: ['*.jar', '*.aar'])
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'com.google.android.material:material:1.1.0-beta01'
//app自动更新
implementation 'com.github.NewHuLe:AppUpdate:v1.7'
//XUI
implementation 'com.github.xuexiangjys:XUI:1.2.1'
implementation 'com.github.xuexiangjys.XPage:xpage-lib:3.0.3'
annotationProcessor 'com.github.xuexiangjys.XPage:xpage-compiler:3.0.3'
implementation 'com.github.bumptech.glide:glide:4.12.0'
//XUI页面路由
implementation 'com.github.xuexiangjys.XRouter:xrouter-runtime:1.1.0'
annotationProcessor 'com.github.xuexiangjys.XRouter:xrouter-compiler:1.1.0'
//XUI切片
implementation 'com.github.xuexiangjys.XAOP:xaop-runtime:1.1.0'
//XUI工具类
implementation 'com.github.xuexiangjys.XUtil:xutil-core:2.0.0'
implementation 'com.github.xuexiangjys.XUtil:xutil-sub:2.0.0'
//@BindView 代替findviewbyid方法。
implementation 'com.jakewharton:butterknife:10.2.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0'
//字体插件
implementation 'uk.co.chrisjenx:calligraphy:2.3.0'
//权限请求框架
implementation 'com.github.getActivity:XXPermissions:13.5'
//recyclerview
implementation 'androidx.recyclerview:recyclerview:1.3.0'
//MNProgressHUD加载弹框
implementation 'com.github.maning0303:MNProgressHUD:V1.1.5'
// LeakCanary内存泄漏检测
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.6'
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'
//okhttp3
implementation 'com.squareup.okhttp3:okhttp:3.12.12'
//cardview
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.3.0'
//io.reactivex
implementation 'io.reactivex.rxjava2:rxjava:2.2.20'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
// fastjson
implementation 'com.alibaba:fastjson:1.2.75'
//下拉刷新
implementation 'com.github.xuexiangjys.SmartRefreshLayout:refresh-header:1.1.5'
implementation 'com.github.xuexiangjys.SmartRefreshLayout:refresh-layout:1.1.5'
//Android崩溃
implementation 'io.github.inflationx:calligraphy3:3.1.1'
implementation 'io.github.inflationx:viewpump:2.0.3'
//SnackbarUtils
implementation 'com.github.mengpeng920223:SnackbarUtils:v1.0.0'
// Stetho core
implementation 'com.facebook.stetho:stetho:1.3.1'
//If you want to add a network helper
implementation 'com.facebook.stetho:stetho-okhttp3:1.3.1'
//悬浮按钮
implementation 'com.github.clans:fab:1.6.4'
//GSON
implementation 'com.google.code.gson:gson:2.8.6'
// https://mvnrepository.com/artifact/org.webjars/tinymce
implementation 'org.webjars:tinymce:5.0.9'
implementation 'org.jsoup:jsoup:1.9.2'
//TabBar
implementation 'com.github.xuexiangjys:JPTabBar:1.0.1'
api 'joda-time:joda-time:2.10.1'
//列表侧滑菜单
implementation 'com.yanzhenjie.recyclerview:support:1.3.2'
}