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

Commit 16e410b

Browse files
Remove -Werror from deprecated plugin Android builds (#4466)
Now that the default Flutter app template uses a newer compile SDK on Android, the build_all test (which generates an application) is subject to new out-of-band deprecation warnings. For plugins with `-Werror` specified, these are errors, which break CI. To prevent this, remove `-Werror` from the Android builds of all the deprecated plugins that used it.
1 parent 0c23f8f commit 16e410b

File tree

6 files changed

+6
-3
lines changed

6 files changed

+6
-3
lines changed

packages/android_alarm_manager/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
* Remove support for the V1 Android embedding.
44
* Updated Android lint settings.
5+
* Removed `-Werror` in Android builds.
56

67
## 2.0.2
78

packages/android_alarm_manager/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
group 'io.flutter.plugins.androidalarmmanager'
22
version '1.0-SNAPSHOT'
3-
def args = ["-Xlint:deprecation","-Xlint:unchecked","-Werror"]
3+
def args = ["-Xlint:deprecation","-Xlint:unchecked"]
44

55
buildscript {
66
repositories {

packages/android_intent/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Remove references to the V1 Android embedding.
44
* Updated Android lint settings.
55
* Specify Java 8 for Android build.
6+
* Removed `-Werror` in Android builds.
67

78
## 2.0.2
89

packages/android_intent/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
group 'io.flutter.plugins.androidintent'
22
version '1.0-SNAPSHOT'
3-
def args = ["-Xlint:deprecation","-Xlint:unchecked","-Werror"]
3+
def args = ["-Xlint:deprecation","-Xlint:unchecked"]
44

55
buildscript {
66
repositories {

packages/connectivity/connectivity/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Remove references to the Android V1 embedding.
44
* Updated Android lint settings.
55
* Specify Java 8 for Android build.
6+
* Removed `-Werror` in Android builds.
67

78
## 3.0.6
89

packages/connectivity/connectivity/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
group 'io.flutter.plugins.connectivity'
22
version '1.0-SNAPSHOT'
3-
def args = ["-Xlint:deprecation","-Xlint:unchecked","-Werror"]
3+
def args = ["-Xlint:deprecation","-Xlint:unchecked"]
44

55
buildscript {
66
repositories {

0 commit comments

Comments
 (0)