2021.04.08

This commit is contained in:
FHT
2021-04-08 11:22:29 +08:00
parent bea9f1c45c
commit a76ee8f972
11 changed files with 248 additions and 88 deletions

View File

@@ -11,13 +11,13 @@ def releaseTime() {
}
android {
compileSdkVersion 29
compileSdkVersion 30
buildToolsVersion "30.0.1"
defaultConfig {
applicationId "com.tt.ttutils"
minSdkVersion 14
targetSdkVersion 29
minSdkVersion 16
targetSdkVersion 30
// versionCode 1
// versionName "1.0"
multiDexEnabled true
@@ -35,6 +35,18 @@ android {
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
]
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
//添加
exclude 'META-INF/rxjava.properties'
}
lintOptions {
checkReleaseBuilds false
@@ -131,6 +143,7 @@ android {
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'androidx.core:core-ktx:1.1.0'
implementation 'androidx.appcompat:appcompat:1.1.0'