fluttercommunity / fluttercommunity/flutter_webview_plugin
Build.gradle Error Message can make confusion
- 主要言語
- Java
- スター
- 1.5k
- フォーク
- 938
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi think that your build.gradle can make confusion because in case the build fails appears your warning message also if the fails not depends in your plugin. I'm wrong?
I'm referring to this pieace of code in your build.gradle:
group 'com.flutter_webview_plugin'
version '1.0-SNAPSHOT'
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of flutter_webview_plugin will break your Android build if it or its dependencies aren\'t compatible with AndroidX.'
println ' See https://goo.gl/CP92wY for more information on the problem and how to fix it.'
println ' This warning prints for all Android build failures. The real root cause of the error may be unrelated.'
println ' *********************************************************'
rootProject.ext.set(ANDROIDX_WARNING, true);
}
}
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
build.gradleファイルとそのbuildFinishedフックを調査します。無関係なAndroidビルド失敗を再現し、pluginが関係する失敗の場合と警告の挙動を比較します。無関係なビルド失敗の実際の根本原因について、警告が混乱を招かなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android
- 領域
- build-system, mobile
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100