Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
[cleanup] Remove AndroidX warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel Garcia committed Oct 23, 2019
1 parent f04b3c8 commit a65101a
Show file tree
Hide file tree
Showing 20 changed files with 0 additions and 260 deletions.
13 changes: 0 additions & 13 deletions packages/android_alarm_manager/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "android_alarm_manager";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.androidalarmmanager'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/android_intent/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "android_intent";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.androidintent'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/battery/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "battery";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.battery'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/camera/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "camera";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.camera'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/connectivity/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "connectivity";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.connectivity'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/device_info/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "device_info";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.deviceinfo'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/google_maps_flutter/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "google_maps_flutter";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.googlemaps'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/google_sign_in/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "google_sign_in";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.googlesignin'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/image_picker/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "image_picker";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.imagepicker'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/in_app_purchase/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "in_app_purchase";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.inapppurchase'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/local_auth/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "local_auth";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.localauth'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/package_info/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "package_info";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.packageinfo'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/path_provider/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "path_provider";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.pathprovider'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/quick_actions/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "quick_actions";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.quickactions'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/sensors/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "sensors";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.sensors'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/share/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "share";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.share'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/shared_preferences/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "shared_preferences";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.sharedpreferences'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/url_launcher/url_launcher/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "url_launcher";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.urllauncher'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/video_player/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "video_player";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.videoplayer'
version '1.0-SNAPSHOT'

Expand Down
13 changes: 0 additions & 13 deletions packages/webview_flutter/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
def PLUGIN = "webview_flutter";
def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
gradle.buildFinished { buildResult ->
if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
println ' *********************************************************'
println 'WARNING: This version of ' + 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);
}
}

group 'io.flutter.plugins.webviewflutter'
version '1.0-SNAPSHOT'

Expand Down

0 comments on commit a65101a

Please sign in to comment.