From 4a67f6953c575d43e74d1863690d56c95c2b714e Mon Sep 17 00:00:00 2001 From: suconghou <1126045770@qq.com> Date: Sat, 17 Sep 2022 15:46:39 +0800 Subject: [PATCH] update gradle --- android/build.gradle | 6 +- .../gradle/wrapper/gradle-wrapper.properties | 2 +- pubspec.lock | 55 ++++++++----------- 3 files changed, 28 insertions(+), 35 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 9ec62d7..a76dc88 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -5,11 +5,11 @@ buildscript { mavenCentral() maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repository/jcenter' } - maven { url 'http://maven.aliyun.com/nexus/content/groups/public' } + maven { url 'https://maven.aliyun.com/nexus/content/groups/public' } } dependencies { - classpath 'com.android.tools.build:gradle:4.1.0' + classpath 'com.android.tools.build:gradle:7.1.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } @@ -20,7 +20,7 @@ allprojects { mavenCentral() maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repository/jcenter' } - maven { url 'http://maven.aliyun.com/nexus/content/groups/public' } + maven { url 'https://maven.aliyun.com/nexus/content/groups/public' } } } diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 3df6b33..cc5527d 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/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.9-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip diff --git a/pubspec.lock b/pubspec.lock index a98292c..424dc20 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,7 +7,7 @@ packages: name: async url: "https://pub.flutter-io.cn" source: hosted - version: "2.8.2" + version: "2.9.0" auto_orientation: dependency: transitive description: @@ -35,21 +35,14 @@ packages: name: characters url: "https://pub.flutter-io.cn" source: hosted - version: "1.2.0" - charcode: - dependency: transitive - description: - name: charcode - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.3.1" + version: "1.2.1" clock: dependency: transitive description: name: clock url: "https://pub.flutter-io.cn" source: hosted - version: "1.1.0" + version: "1.1.1" collection: dependency: transitive description: @@ -77,14 +70,14 @@ packages: name: dlna_dart url: "https://pub.flutter-io.cn" source: hosted - version: "0.0.6" + version: "0.0.7" fake_async: dependency: transitive description: name: fake_async url: "https://pub.flutter-io.cn" source: hosted - version: "1.3.0" + version: "1.3.1" ffi: dependency: transitive description: @@ -98,7 +91,7 @@ packages: name: file url: "https://pub.flutter-io.cn" source: hosted - version: "6.1.2" + version: "6.1.4" flutter: dependency: "direct main" description: flutter @@ -148,14 +141,14 @@ packages: name: matcher url: "https://pub.flutter-io.cn" source: hosted - version: "0.12.11" + version: "0.12.12" material_color_utilities: dependency: transitive description: name: material_color_utilities url: "https://pub.flutter-io.cn" source: hosted - version: "0.1.4" + version: "0.1.5" mediaindex_dart: dependency: "direct main" description: @@ -169,14 +162,14 @@ packages: name: meta url: "https://pub.flutter-io.cn" source: hosted - version: "1.7.0" + version: "1.8.0" path: dependency: transitive description: name: path url: "https://pub.flutter-io.cn" source: hosted - version: "1.8.1" + version: "1.8.2" path_provider: dependency: "direct main" description: @@ -190,7 +183,7 @@ packages: name: path_provider_android url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.17" + version: "2.0.20" path_provider_ios: dependency: transitive description: @@ -225,7 +218,7 @@ packages: name: path_provider_windows url: "https://pub.flutter-io.cn" source: hosted - version: "2.1.1" + version: "2.1.3" petitparser: dependency: transitive description: @@ -246,7 +239,7 @@ packages: name: plugin_platform_interface url: "https://pub.flutter-io.cn" source: hosted - version: "2.1.2" + version: "2.1.3" process: dependency: transitive description: @@ -267,7 +260,7 @@ packages: name: shared_preferences_android url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.12" + version: "2.0.13" shared_preferences_ios: dependency: transitive description: @@ -295,7 +288,7 @@ packages: name: shared_preferences_platform_interface url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.0" + version: "2.1.0" shared_preferences_web: dependency: transitive description: @@ -321,7 +314,7 @@ packages: name: source_span url: "https://pub.flutter-io.cn" source: hosted - version: "1.8.2" + version: "1.9.0" stack_trace: dependency: transitive description: @@ -342,21 +335,21 @@ packages: name: string_scanner url: "https://pub.flutter-io.cn" source: hosted - version: "1.1.0" + version: "1.1.1" term_glyph: dependency: transitive description: name: term_glyph url: "https://pub.flutter-io.cn" source: hosted - version: "1.2.0" + version: "1.2.1" test_api: dependency: transitive description: name: test_api url: "https://pub.flutter-io.cn" source: hosted - version: "0.4.9" + version: "0.4.12" u2flutter_player: dependency: "direct main" description: @@ -377,14 +370,14 @@ packages: name: video_player url: "https://pub.flutter-io.cn" source: hosted - version: "2.4.5" + version: "2.4.7" video_player_android: dependency: transitive description: name: video_player_android url: "https://pub.flutter-io.cn" source: hosted - version: "2.3.8" + version: "2.3.9" video_player_avfoundation: dependency: transitive description: @@ -398,7 +391,7 @@ packages: name: video_player_platform_interface url: "https://pub.flutter-io.cn" source: hosted - version: "5.1.3" + version: "5.1.4" video_player_web: dependency: transitive description: @@ -412,14 +405,14 @@ packages: name: win32 url: "https://pub.flutter-io.cn" source: hosted - version: "2.7.0" + version: "3.0.0" xdg_directories: dependency: transitive description: name: xdg_directories url: "https://pub.flutter-io.cn" source: hosted - version: "0.2.0+1" + version: "0.2.0+2" xml: dependency: transitive description: