Skip to content

Commit df6f8ea

Browse files
cortinicometa-codesync[bot]
authored andcommitted
Enable Xlint:deprecation,unchecked for popup-menu-android (#55455)
Summary: Pull Request resolved: #55455 Let's turn on those 2 compilation flags now that the warnigns have been suppressed. Changelog: [Internal] [Changed] - Reviewed By: cipolleschi Differential Revision: D92532099 fbshipit-source-id: fc252587fbb2521cc5ffdeae9284ca88a5453fe2
1 parent 67ba6a2 commit df6f8ea

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/react-native-popup-menu-android/android/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ kotlin {
2929
explicitApi()
3030
}
3131

32+
tasks.withType<JavaCompile>().configureEach {
33+
options.compilerArgs.add("-Xlint:deprecation,unchecked")
34+
options.compilerArgs.add("-Werror")
35+
}
36+
3237
dependencies {
3338
// Build React Native from source
3439
implementation(project(":packages:react-native:ReactAndroid"))

0 commit comments

Comments
 (0)