update android dependencies to newer versions (#12421)

This commit is contained in:
William Cheng 2022-05-21 17:04:42 +08:00 committed by GitHub
parent e0bd2440f1
commit 8804ba50ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 22 deletions

View File

@ -34,11 +34,11 @@ apply plugin: 'com.github.dcendents.android-maven'
{{/useAndroidMavenGradlePlugin}} {{/useAndroidMavenGradlePlugin}}
android { android {
compileSdkVersion 25 compileSdkVersion 26
buildToolsVersion '28.0.3' buildToolsVersion '28.0.3'
defaultConfig { defaultConfig {
minSdkVersion 14 minSdkVersion 14
targetSdkVersion 25 targetSdkVersion 26
} }
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8
@ -63,10 +63,10 @@ android {
} }
ext { ext {
swagger_annotations_version = "1.6.2" swagger_annotations_version = "1.6.6"
gson_version = "2.8.6" gson_version = "2.8.9"
httpmime_version = "4.5.13" httpmime_version = "4.5.13"
volley_version = "1.2.0" volley_version = "1.2.1"
junit_version = "4.13.2" junit_version = "4.13.2"
robolectric_version = "4.5.1" robolectric_version = "4.5.1"
concurrent_unit_version = "0.4.6" concurrent_unit_version = "0.4.6"

View File

@ -28,8 +28,8 @@
<version>${google-code-gson-version}</version> <version>${google-code-gson-version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.mcxiaoke.volley</groupId> <groupId>com.android.volley</groupId>
<artifactId>library</artifactId> <artifactId>volley</artifactId>
<version>${volley-library-version}</version> <version>${volley-library-version}</version>
</dependency> </dependency>
<dependency> <dependency>
@ -53,10 +53,10 @@
</build> </build>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<swagger-annotations-version>1.5.8</swagger-annotations-version> <swagger-annotations-version>1.6.6</swagger-annotations-version>
<httpcomponents-httpmime-version>4.5.2</httpcomponents-httpmime-version> <httpcomponents-httpmime-version>4.5.13</httpcomponents-httpmime-version>
<google-code-gson-version>2.6.2</google-code-gson-version> <google-code-gson-version>2.8.9</google-code-gson-version>
<volley-library-version>1.0.19</volley-library-version> <volley-library-version>1.2.1</volley-library-version>
<android-platform-version>4.1.1.4</android-platform-version> <android-platform-version>4.1.1.4</android-platform-version>
</properties> </properties>
</project> </project>

View File

@ -28,11 +28,11 @@ apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven' apply plugin: 'com.github.dcendents.android-maven'
android { android {
compileSdkVersion 25 compileSdkVersion 26
buildToolsVersion '28.0.3' buildToolsVersion '28.0.3'
defaultConfig { defaultConfig {
minSdkVersion 14 minSdkVersion 14
targetSdkVersion 25 targetSdkVersion 26
} }
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8
@ -57,10 +57,10 @@ android {
} }
ext { ext {
swagger_annotations_version = "1.6.2" swagger_annotations_version = "1.6.6"
gson_version = "2.8.6" gson_version = "2.8.9"
httpmime_version = "4.5.13" httpmime_version = "4.5.13"
volley_version = "1.2.0" volley_version = "1.2.1"
junit_version = "4.13.2" junit_version = "4.13.2"
robolectric_version = "4.5.1" robolectric_version = "4.5.1"
concurrent_unit_version = "0.4.6" concurrent_unit_version = "0.4.6"

View File

@ -28,8 +28,8 @@
<version>${google-code-gson-version}</version> <version>${google-code-gson-version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.mcxiaoke.volley</groupId> <groupId>com.android.volley</groupId>
<artifactId>library</artifactId> <artifactId>volley</artifactId>
<version>${volley-library-version}</version> <version>${volley-library-version}</version>
</dependency> </dependency>
<dependency> <dependency>
@ -52,10 +52,11 @@
</plugins> </plugins>
</build> </build>
<properties> <properties>
<swagger-annotations-version>1.5.8</swagger-annotations-version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<httpcomponents-httpmime-version>4.5.2</httpcomponents-httpmime-version> <swagger-annotations-version>1.6.6</swagger-annotations-version>
<google-code-gson-version>2.6.2</google-code-gson-version> <httpcomponents-httpmime-version>4.5.13</httpcomponents-httpmime-version>
<volley-library-version>1.0.19</volley-library-version> <google-code-gson-version>2.8.9</google-code-gson-version>
<volley-library-version>1.2.1</volley-library-version>
<android-platform-version>4.1.1.4</android-platform-version> <android-platform-version>4.1.1.4</android-platform-version>
</properties> </properties>
</project> </project>