Skip to content

Commit 7f603e7

Browse files
committed
Gradle 8.0 deprecation fixes
- Update gradle properties destinationDir to destinationDirectory and baseName to archiveBaseName, because they are deprecated in Gradle 8.0.; - Update jcenter() to mavenCentral(), because it is scheduled to be removed in Gradle 8.0.;
1 parent 7345ee4 commit 7f603e7

File tree

3 files changed

+46
-54
lines changed

3 files changed

+46
-54
lines changed

android/build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version '1.0'
44
buildscript {
55
repositories {
66
google()
7-
jcenter()
7+
mavenCentral()
88
}
99

1010
dependencies {
@@ -15,7 +15,7 @@ buildscript {
1515
rootProject.allprojects {
1616
repositories {
1717
google()
18-
jcenter()
18+
mavenCentral()
1919
}
2020
}
2121

@@ -34,8 +34,8 @@ android {
3434
}
3535

3636
task nativeLibsToJar(type: Jar, description: 'create a jar archive of the native libs') {
37-
destinationDir file("$buildDir/native-libs")
38-
baseName 'native-libs'
37+
destinationDirectory.set(file("$buildDir/native-libs"))
38+
archiveBaseName = 'native-libs'
3939
from fileTree(dir: 'libs', include: '**/*.so')
4040
into 'lib/'
4141
}

example/pubspec.lock

+25-33
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@ packages:
1717
url: "https://pub.dev"
1818
source: hosted
1919
version: "5.5.0"
20-
archive:
21-
dependency: transitive
22-
description:
23-
name: archive
24-
sha256: "80e5141fafcb3361653ce308776cfd7d45e6e9fbb429e14eec571382c0c5fecb"
25-
url: "https://pub.dev"
26-
source: hosted
27-
version: "3.3.2"
2820
args:
2921
dependency: transitive
3022
description:
@@ -37,10 +29,10 @@ packages:
3729
dependency: transitive
3830
description:
3931
name: async
40-
sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0
32+
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
4133
url: "https://pub.dev"
4234
source: hosted
43-
version: "2.10.0"
35+
version: "2.11.0"
4436
boolean_selector:
4537
dependency: transitive
4638
description:
@@ -53,10 +45,10 @@ packages:
5345
dependency: transitive
5446
description:
5547
name: characters
56-
sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c
48+
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
5749
url: "https://pub.dev"
5850
source: hosted
59-
version: "1.2.1"
51+
version: "1.3.0"
6052
clock:
6153
dependency: transitive
6254
description:
@@ -69,10 +61,10 @@ packages:
6961
dependency: transitive
7062
description:
7163
name: collection
72-
sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0
64+
sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
7365
url: "https://pub.dev"
7466
source: hosted
75-
version: "1.17.0"
67+
version: "1.17.1"
7668
convert:
7769
dependency: transitive
7870
description:
@@ -218,10 +210,10 @@ packages:
218210
dependency: transitive
219211
description:
220212
name: js
221-
sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7"
213+
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
222214
url: "https://pub.dev"
223215
source: hosted
224-
version: "0.6.5"
216+
version: "0.6.7"
225217
logging:
226218
dependency: transitive
227219
description:
@@ -234,10 +226,10 @@ packages:
234226
dependency: transitive
235227
description:
236228
name: matcher
237-
sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72"
229+
sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb"
238230
url: "https://pub.dev"
239231
source: hosted
240-
version: "0.12.13"
232+
version: "0.12.15"
241233
material_color_utilities:
242234
dependency: transitive
243235
description:
@@ -250,10 +242,10 @@ packages:
250242
dependency: transitive
251243
description:
252244
name: meta
253-
sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42"
245+
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
254246
url: "https://pub.dev"
255247
source: hosted
256-
version: "1.8.0"
248+
version: "1.9.1"
257249
mime:
258250
dependency: transitive
259251
description:
@@ -282,10 +274,10 @@ packages:
282274
dependency: transitive
283275
description:
284276
name: path
285-
sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b
277+
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
286278
url: "https://pub.dev"
287279
source: hosted
288-
version: "1.8.2"
280+
version: "1.8.3"
289281
platform:
290282
dependency: transitive
291283
description:
@@ -423,26 +415,26 @@ packages:
423415
dependency: "direct dev"
424416
description:
425417
name: test
426-
sha256: a5fcd2d25eeadbb6589e80198a47d6a464ba3e2049da473943b8af9797900c2d
418+
sha256: "3dac9aecf2c3991d09b9cdde4f98ded7b30804a88a0d7e4e7e1678e78d6b97f4"
427419
url: "https://pub.dev"
428420
source: hosted
429-
version: "1.22.0"
421+
version: "1.24.1"
430422
test_api:
431423
dependency: transitive
432424
description:
433425
name: test_api
434-
sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
426+
sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb
435427
url: "https://pub.dev"
436428
source: hosted
437-
version: "0.4.16"
429+
version: "0.5.1"
438430
test_core:
439431
dependency: transitive
440432
description:
441433
name: test_core
442-
sha256: "0ef9755ec6d746951ba0aabe62f874b707690b5ede0fecc818b138fcc9b14888"
434+
sha256: "5138dbffb77b2289ecb12b81c11ba46036590b72a64a7a90d6ffb880f1a29e93"
443435
url: "https://pub.dev"
444436
source: hosted
445-
version: "0.4.20"
437+
version: "0.5.1"
446438
typed_data:
447439
dependency: transitive
448440
description:
@@ -463,10 +455,10 @@ packages:
463455
dependency: transitive
464456
description:
465457
name: vm_service
466-
sha256: e7fb6c2282f7631712b69c19d1bff82f3767eea33a2321c14fa59ad67ea391c7
458+
sha256: f6deed8ed625c52864792459709183da231ebf66ff0cf09e69b573227c377efe
467459
url: "https://pub.dev"
468460
source: hosted
469-
version: "9.4.0"
461+
version: "11.3.0"
470462
watcher:
471463
dependency: transitive
472464
description:
@@ -487,10 +479,10 @@ packages:
487479
dependency: transitive
488480
description:
489481
name: webdriver
490-
sha256: ef67178f0cc7e32c1494645b11639dd1335f1d18814aa8435113a92e9ef9d841
482+
sha256: "3c923e918918feeb90c4c9fdf1fe39220fa4c0e8e2c0fffaded174498ef86c49"
491483
url: "https://pub.dev"
492484
source: hosted
493-
version: "3.0.1"
485+
version: "3.0.2"
494486
webkit_inspection_protocol:
495487
dependency: transitive
496488
description:
@@ -508,5 +500,5 @@ packages:
508500
source: hosted
509501
version: "3.1.1"
510502
sdks:
511-
dart: ">=2.18.0 <3.0.0"
503+
dart: ">=3.0.0-0 <4.0.0"
512504
flutter: ">=1.10.0"

pubspec.lock

+17-17
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ packages:
55
dependency: transitive
66
description:
77
name: async
8-
sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0
8+
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
99
url: "https://pub.dev"
1010
source: hosted
11-
version: "2.10.0"
11+
version: "2.11.0"
1212
boolean_selector:
1313
dependency: transitive
1414
description:
@@ -21,10 +21,10 @@ packages:
2121
dependency: transitive
2222
description:
2323
name: characters
24-
sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c
24+
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
2525
url: "https://pub.dev"
2626
source: hosted
27-
version: "1.2.1"
27+
version: "1.3.0"
2828
clock:
2929
dependency: transitive
3030
description:
@@ -37,10 +37,10 @@ packages:
3737
dependency: transitive
3838
description:
3939
name: collection
40-
sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0
40+
sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
4141
url: "https://pub.dev"
4242
source: hosted
43-
version: "1.17.0"
43+
version: "1.17.1"
4444
fake_async:
4545
dependency: transitive
4646
description:
@@ -84,18 +84,18 @@ packages:
8484
dependency: transitive
8585
description:
8686
name: js
87-
sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7"
87+
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
8888
url: "https://pub.dev"
8989
source: hosted
90-
version: "0.6.5"
90+
version: "0.6.7"
9191
matcher:
9292
dependency: transitive
9393
description:
9494
name: matcher
95-
sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72"
95+
sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb"
9696
url: "https://pub.dev"
9797
source: hosted
98-
version: "0.12.13"
98+
version: "0.12.15"
9999
material_color_utilities:
100100
dependency: transitive
101101
description:
@@ -108,18 +108,18 @@ packages:
108108
dependency: transitive
109109
description:
110110
name: meta
111-
sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42"
111+
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
112112
url: "https://pub.dev"
113113
source: hosted
114-
version: "1.8.0"
114+
version: "1.9.1"
115115
path:
116116
dependency: "direct main"
117117
description:
118118
name: path
119-
sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b
119+
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
120120
url: "https://pub.dev"
121121
source: hosted
122-
version: "1.8.2"
122+
version: "1.8.3"
123123
sky_engine:
124124
dependency: transitive
125125
description: flutter
@@ -169,10 +169,10 @@ packages:
169169
dependency: transitive
170170
description:
171171
name: test_api
172-
sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
172+
sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb
173173
url: "https://pub.dev"
174174
source: hosted
175-
version: "0.4.16"
175+
version: "0.5.1"
176176
vector_math:
177177
dependency: transitive
178178
description:
@@ -182,5 +182,5 @@ packages:
182182
source: hosted
183183
version: "2.1.4"
184184
sdks:
185-
dart: ">=2.18.0 <3.0.0"
185+
dart: ">=3.0.0-0 <4.0.0"
186186
flutter: ">=1.10.0"

0 commit comments

Comments
 (0)