Skip to content

Commit 1fe7c55

Browse files
committed
Updating to latest gradle version
1 parent afa4156 commit 1fe7c55

File tree

5 files changed

+22
-14
lines changed

5 files changed

+22
-14
lines changed

best_flutter_ui_templates/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
2626
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2727

2828
android {
29-
compileSdkVersion 28
29+
compileSdkVersion 31
3030

3131
sourceSets {
3232
main.java.srcDirs += 'src/main/kotlin'
@@ -40,7 +40,7 @@ android {
4040
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4141
applicationId "com.example.best_flutter_ui_templates"
4242
minSdkVersion 16
43-
targetSdkVersion 28
43+
targetSdkVersion 31
4444
versionCode flutterVersionCode.toInteger()
4545
versionName flutterVersionName
4646
}

best_flutter_ui_templates/android/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
additional functionality it is fine to subclass or reimplement
77
FlutterApplication and put your custom class here. -->
88
<application
9-
android:name="io.flutter.app.FlutterApplication"
9+
android:name="${applicationName}"
1010
android:label="best_flutter_ui_templates"
1111
android:icon="@mipmap/ic_launcher">
1212
<activity
@@ -23,6 +23,7 @@
2323
<meta-data
2424
android:name="io.flutter.embedding.android.NormalTheme"
2525
android:resource="@style/NormalTheme"
26+
2627
/>
2728
<!-- Displays an Android View that continues showing the launch screen
2829
Drawable until Flutter paints its first frame, then this splash

best_flutter_ui_templates/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
buildscript {
2-
ext.kotlin_version = '1.3.50'
2+
ext.kotlin_version = '1.6.10'
33
repositories {
44
google()
55
jcenter()
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:3.5.0'
9+
classpath 'com.android.tools.build:gradle:4.1.0'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1111
}
1212
}

best_flutter_ui_templates/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip

best_flutter_ui_templates/pubspec.lock

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ packages:
1414
name: async
1515
url: "https://pub.dartlang.org"
1616
source: hosted
17-
version: "2.6.1"
17+
version: "2.8.2"
1818
boolean_selector:
1919
dependency: transitive
2020
description:
@@ -28,14 +28,14 @@ packages:
2828
name: characters
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "1.1.0"
31+
version: "1.2.0"
3232
charcode:
3333
dependency: transitive
3434
description:
3535
name: charcode
3636
url: "https://pub.dartlang.org"
3737
source: hosted
38-
version: "1.2.0"
38+
version: "1.3.1"
3939
clock:
4040
dependency: transitive
4141
description:
@@ -101,14 +101,21 @@ packages:
101101
name: matcher
102102
url: "https://pub.dartlang.org"
103103
source: hosted
104-
version: "0.12.10"
104+
version: "0.12.11"
105+
material_color_utilities:
106+
dependency: transitive
107+
description:
108+
name: material_color_utilities
109+
url: "https://pub.dartlang.org"
110+
source: hosted
111+
version: "0.1.3"
105112
meta:
106113
dependency: transitive
107114
description:
108115
name: meta
109116
url: "https://pub.dartlang.org"
110117
source: hosted
111-
version: "1.3.0"
118+
version: "1.7.0"
112119
path:
113120
dependency: transitive
114121
description:
@@ -162,7 +169,7 @@ packages:
162169
name: test_api
163170
url: "https://pub.dartlang.org"
164171
source: hosted
165-
version: "0.3.0"
172+
version: "0.4.8"
166173
typed_data:
167174
dependency: transitive
168175
description:
@@ -176,7 +183,7 @@ packages:
176183
name: vector_math
177184
url: "https://pub.dartlang.org"
178185
source: hosted
179-
version: "2.1.0"
186+
version: "2.1.1"
180187
sdks:
181-
dart: ">=2.12.0 <3.0.0"
188+
dart: ">=2.14.0 <3.0.0"
182189
flutter: ">=1.12.13+hotfix.5"

0 commit comments

Comments
 (0)