Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TWiStErRob committed Jan 18, 2025
1 parent e3637c0 commit 668ad54
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ tasks.withType<JavaCompile>().configureEach javac@{
"-Xlint:all",
// Fail build when any warning pops up.
"-Werror",
// TODEL https://issuetracker.google.com/issues/359561906
// > > Task :android:database-contract:compileDebugJavaWithJavac FAILED
// > /modules/java.base/java/lang/List.class:
// > /modules/java.base/java/util/Collections.class:
// > /modules/java.base/java/lang/Double.class:
// > warning: Cannot find annotation method 'value()' in type 'FlaggedApi':
// > class file for android.annotation.FlaggedApi not found
"-Xlint:-classfile",
)

if (this@javac.name.endsWith("UnitTestJavaWithJavac")
Expand Down

0 comments on commit 668ad54

Please sign in to comment.