Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3944eb1 authored by Cole Faust's avatar Cole Faust
Browse files

Add -Xjvm-default=all

Android lint is being updated, and now requires
custom detectors to be compiled with -Xjvm-default=all.

This is a cherrypick without the fixes for indentation
errors because lint is not actually run on these older
branches, but the custom detectors are compiled.

Bug: 236431222
Test: Presubmits
Change-Id: Idf5302302496a6dff0f79ced4e20327041ae7a5a
(cherry picked from commit b331e4e2)
(cherry picked from commit 116be9d6)
parent 251adfb3
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -32,6 +32,7 @@ java_library_host {
        "auto_service_annotations",
        "auto_service_annotations",
        "lint_api",
        "lint_api",
    ],
    ],
    kotlincflags: ["-Xjvm-default=all"],
}
}


java_test_host {
java_test_host {
+1 −0
Original line number Original line Diff line number Diff line
@@ -29,6 +29,7 @@ java_library_host {
        "auto_service_annotations",
        "auto_service_annotations",
        "lint_api",
        "lint_api",
    ],
    ],
    kotlincflags: ["-Xjvm-default=all"],
}
}


java_test_host {
java_test_host {