|
|
|
@ -12,7 +12,7 @@ android {
|
|
|
|
|
targetSdkVersion 28
|
|
|
|
|
versionCode 1
|
|
|
|
|
versionName "1.0.0"
|
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
|
|
|
|
}
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
@ -39,11 +39,11 @@ android {
|
|
|
|
|
dependencies {
|
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
|
implementation 'com.android.support:appcompat-v7:28.0.0'
|
|
|
|
|
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.0.0'
|
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
|
|
|
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
|
|
|
|
|
|
|
|
|
|
//okhttp
|
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
|
|
|
|
@ -55,7 +55,7 @@ dependencies {
|
|
|
|
|
//mail
|
|
|
|
|
implementation 'com.sun.mail:android-mail:1.6.0'
|
|
|
|
|
implementation 'com.sun.mail:android-activation:1.6.0'
|
|
|
|
|
implementation 'com.android.support:design:28.0.0'
|
|
|
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
|
|
|
|
|
|
|
|
//android8.0以上需要使用到反射获取隐藏的系统api和动态代理隐藏的抽象类回调
|
|
|
|
|
//其中动态代理抽象类回调需要使用ProxyBuilder类,故依赖一个库
|
|
|
|
@ -65,4 +65,9 @@ dependencies {
|
|
|
|
|
implementation "com.umeng.umsdk:common:9.3.6"
|
|
|
|
|
implementation "com.umeng.umsdk:asms:1.2.0"
|
|
|
|
|
|
|
|
|
|
//XUpdate
|
|
|
|
|
implementation 'com.github.xuexiangjys:XUpdate:2.0.7'
|
|
|
|
|
implementation 'com.github.xuexiangjys.XUpdateAPI:xupdate-easy:1.0.0'
|
|
|
|
|
implementation 'com.github.xuexiangjys.XUpdateAPI:xupdate-downloader-aria:1.0.0'
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|