mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Enable Xlint:deprecation,unchecked for popup-menu-android (#55455)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/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
This commit is contained in:
1 parent
67ba6a2087
commit
df6f8ea8b0
1 file changed
+5
@@ -29,6 +29,11 @@ kotlin {
|
||||
explicitApi()
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile>().configureEach {
|
||||
options.compilerArgs.add("-Xlint:deprecation,unchecked")
|
||||
options.compilerArgs.add("-Werror")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// Build React Native from source
|
||||
implementation(project(":packages:react-native:ReactAndroid"))
|
||||
|
||||
Reference in new issue
Block a user