From 8158b30c4c43d37e794ec1313331c790faf6652e Mon Sep 17 00:00:00 2001 From: HuanChengFly <609486518@qq.com> Date: Thu, 19 Aug 2021 16:53:19 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 11 ++++++----- build.gradle | 4 +++- gradle/wrapper/gradle-wrapper.properties | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 7084bc04..406d87e4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -26,6 +26,7 @@ android { defaultConfig { applicationId "com.huanchengfly.tieba.post" minSdkVersion 21 + //noinspection OldTargetApi targetSdkVersion 30 versionCode applicationVersionCode versionName applicationVersionName @@ -65,7 +66,7 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" api "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.2" - api "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.2" + api "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.8" //Local Files implementation fileTree(include: ["*.jar"], dir: "libs") @@ -75,14 +76,14 @@ dependencies { //兼容 Glide implementation "com.android.support:support-annotations:28.0.0" - implementation "androidx.work:work-runtime:2.3.4" + implementation "androidx.work:work-runtime:2.5.0" kapt "com.android.support:support-annotations:28.0.0" //AndroidX - implementation "androidx.appcompat:appcompat:1.3.0" + implementation "androidx.appcompat:appcompat:1.3.1" implementation "androidx.core:core-ktx:1.6.0" implementation "androidx.annotation:annotation:1.2.0" - implementation "androidx.constraintlayout:constraintlayout:2.0.4" + implementation "androidx.constraintlayout:constraintlayout:2.1.0" implementation "androidx.preference:preference-ktx:1.1.1" implementation "androidx.gridlayout:gridlayout:1.0.0" implementation "androidx.browser:browser:1.3.0" @@ -123,7 +124,7 @@ dependencies { implementation "com.zhihu.android:matisse:0.5.3-beta3" implementation "com.yanzhenjie:permission:2.0.3" implementation "com.gyf.immersionbar:immersionbar:3.0.0" - api "com.flurry.android:analytics:12.13.0" + api "com.flurry.android:analytics:13.0.0" implementation "com.github.yalantis:ucrop:2.2.7" diff --git a/build.gradle b/build.gradle index 09cbfe6a..83af0d60 100644 --- a/build.gradle +++ b/build.gradle @@ -8,10 +8,11 @@ buildscript { } repositories { google() + gradlePluginPortal() maven { url "https://maven.aliyun.com/repository/public" } } dependencies { - classpath 'com.android.tools.build:gradle:4.2.2' + classpath 'com.android.tools.build:gradle:7.0.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } @@ -19,6 +20,7 @@ buildscript { allprojects { repositories { google() + mavenCentral() maven { url "https://maven.aliyun.com/repository/public" } maven { url 'https://jitpack.io' } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 4a1ff776..93d7bd6f 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip