-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update example #34
Update example #34
Conversation
@nkmrh
|
example/android/build.gradle
Outdated
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
classpath 'com.android.tools.build:gradle:4.1.0' | ||
classpath 'com.android.tools.build:gradle:7.3.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AGP7.3.0にするとSDK側のKotlinバージョンを上げないといけなくなると思うので7.2.0
に変更お願いします。SDK側に変更が入るとリリースしないといけなくなるのでSDK側を変更しなくても済む範囲でexampleの修正をお願いします。
基本的に以下の手順を試していただいてエラーが出たら修正する感じでお願いします:pray:
その他、必要に応じてexample内で完結するように修正お願いします。 |
@SojiroNishimura lock ファイルの diff から、おそらくビルド前に
|
@nkmrh これってつまりmelosでpackagesを指定するとそのパッケージ自体が持っているpubspec.yamlは無視されてローカルパッケージの参照になるって理解であってますかね?ドキュメントと実挙動を見ると明らかに無視されてるっぽいですが分かりにくい仕様な気がしますね。。 いずれにせよパッケージ単体でpubspec.yamlとpubspec.lockの内容に齟齬があると混乱の元なのでpubspec.yamlの方も最新版を参照するように更新しておいてもらえないでしょうか。melosの仕様を知らないとハマってしまうので「melos |
あってます。確かにわかりにくいですね。。。
|
@@ -5,49 +5,56 @@ packages: | |||
dependency: transitive | |||
description: | |||
name: async | |||
url: "https://pub.dartlang.org" | |||
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SojiroNishimura melos bootstrap
を実行した影響で package/example 配下の pubspec.lock が更新されてしまったのですが、これらの変更は含めない方が良いでしょうか?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
対応ありがとうございます!これはexample配下なので問題ないです 👍
Dartのバージョンだけ |
Summary
Implementation
Test plan
Other Information
CI の flutter バージョンを最新にしました 45b8031
melos run analyze が通るように変更しました a22a2fb
[karte_core]: info • 'setMockMethodCallHandler' is deprecated and shouldn't be used. Use tester.binding.defaultBinaryMessenger.setMockMethodCallHandler or TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.setMockMethodCallHandler instead. Pass the channel as the first argument. This feature was deprecated after v3.9.0-19.0.pre • test/karte_core_test.dart:14:13 • deprecated_member_use