67 lines
2.2 KiB
Groovy
67 lines
2.2 KiB
Groovy
apply plugin: 'com.android.application'
|
||
apply plugin: 'kotlin-android'
|
||
apply plugin: 'kotlin-android-extensions'
|
||
|
||
android {
|
||
compileSdkVersion 30
|
||
|
||
defaultConfig {
|
||
applicationId "org.yameida.worktool"
|
||
minSdkVersion 23
|
||
targetSdkVersion 30
|
||
versionCode 211
|
||
versionName "2.1"
|
||
|
||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
}
|
||
|
||
buildTypes {
|
||
release {
|
||
minifyEnabled true
|
||
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 {
|
||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||
implementation 'androidx.core:core-ktx:1.3.2'
|
||
implementation 'androidx.appcompat:appcompat:1.3.1'
|
||
implementation 'com.google.android.material:material:1.4.0'
|
||
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
|
||
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.5'
|
||
implementation 'androidx.navigation:navigation-ui-ktx:2.3.5'
|
||
testImplementation 'junit:junit:4.12'
|
||
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
||
|
||
//工具集
|
||
implementation 'com.blankj:utilcodex:1.31.0'
|
||
//Gson
|
||
implementation 'com.google.code.gson:gson:2.8.5'
|
||
//网络
|
||
implementation 'com.github.bumptech.glide:okhttp3-integration:4.9.0'
|
||
|
||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||
implementation 'androidx.core:core-ktx:1.3.2'
|
||
|
||
//友盟统计SDK
|
||
implementation 'com.umeng.umsdk:common:9.4.7'// 必选
|
||
implementation 'com.umeng.umsdk:asms:1.4.1'// 必选
|
||
implementation 'com.umeng.umsdk:apm:1.5.2' // 错误分析升级为独立SDK,看crash数据请一定集成,可选
|
||
|
||
//自动更新
|
||
implementation 'com.teprinciple:updateapputilsx:2.3.0'
|
||
//ok
|
||
implementation 'com.lzy.net:okgo:3.0.4'
|
||
//qrcode
|
||
implementation 'com.github.yoojia:next-qrcode:2.0-2'
|
||
} |