diff --git a/packages/react-native/ReactAndroid/hermes-engine/build.gradle.kts b/packages/react-native/ReactAndroid/hermes-engine/build.gradle.kts index b261292d65db0e..272c411e9098a3 100644 --- a/packages/react-native/ReactAndroid/hermes-engine/build.gradle.kts +++ b/packages/react-native/ReactAndroid/hermes-engine/build.gradle.kts @@ -330,6 +330,11 @@ afterEvaluate { tasks.getByName("preBuild").dependsOn(prepareHeadersForPrefab) } +tasks.withType().configureEach { + options.compilerArgs.add("-Xlint:deprecation,unchecked") + options.compilerArgs.add("-Werror") +} + /* Publishing Configuration */ apply(from = "../publish.gradle") diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/AndroidManifest.xml b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/AndroidManifest.xml deleted file mode 100644 index 8e8524c731f514..00000000000000 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/AndroidManifest.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - -