diff --git a/app/build.gradle b/app/build.gradle index a6ce591..9214c12 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,7 +2,6 @@ apply plugin: 'com.android.application' android { compileSdkVersion 30 - buildToolsVersion "29.0.3" defaultConfig { applicationId "com.donkingliang.consecutivescroller" minSdkVersion 19 @@ -21,20 +20,20 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'androidx.appcompat:appcompat:1.2.0' - implementation 'com.google.android.material:material:1.2.1' + implementation 'androidx.appcompat:appcompat:1.3.1' + implementation 'com.google.android.material:material:1.4.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation 'androidx.legacy:legacy-support-v4:1.0.0' testImplementation 'junit:junit:4.13.2' - androidTestImplementation 'androidx.test.ext:junit:1.1.2' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' - implementation 'androidx.recyclerview:recyclerview:1.1.0' + androidTestImplementation 'androidx.test.ext:junit:1.1.3' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' + implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation project(':consecutivescroller') // 刷新框架 - implementation 'com.scwang.smart:refresh-layout-kernel:2.0.1' //核心必须依赖 - implementation 'com.scwang.smart:refresh-header-classics:2.0.1' //经典刷新头 - implementation 'com.scwang.smart:refresh-footer-classics:2.0.1' //经典加载 + implementation 'com.scwang.smart:refresh-layout-kernel:2.0.3' //核心必须依赖 + implementation 'com.scwang.smart:refresh-header-classics:2.0.3' //经典刷新头 + implementation 'com.scwang.smart:refresh-footer-classics:2.0.3' //经典加载 implementation 'androidx.viewpager2:viewpager2:1.1.0-alpha01' } diff --git a/build.gradle b/build.gradle index 02199bb..0998836 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.4.1' + classpath 'com.android.tools.build:gradle:4.2.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/consecutivescroller/build.gradle b/consecutivescroller/build.gradle index 66bbb05..90c8c34 100644 --- a/consecutivescroller/build.gradle +++ b/consecutivescroller/build.gradle @@ -4,9 +4,6 @@ group='com.github.donkingliang' // 指定group,com.github.<用户名> android { compileSdkVersion 30 - buildToolsVersion "29.0.3" - - defaultConfig { minSdkVersion 19 targetSdkVersion 30 @@ -28,8 +25,8 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - compileOnly 'androidx.appcompat:appcompat:1.2.0' - compileOnly 'androidx.recyclerview:recyclerview:1.1.0' + compileOnly 'androidx.appcompat:appcompat:1.3.1' + compileOnly 'androidx.recyclerview:recyclerview:1.2.1' compileOnly 'androidx.viewpager2:viewpager2:1.1.0-alpha01' } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 51f9d4b..d83baa5 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Fri Mar 13 16:42:52 CST 2020 +#Sat Jul 31 23:13:54 CST 2021 distributionBase=GRADLE_USER_HOME +distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip distributionPath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip +zipStoreBase=GRADLE_USER_HOME