mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix missing import on New Architecture build script in template (#34230)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/34230 The OS static class is accessed inside app/build.gradle but the import is on the top level Gradle file. This is causing an app created from template to fail building. This is needed to be cherry-picked on the 0.70-stable branch. Changelog: [Android] [Fixed] - Fix missing import on New Architecture build script in template Reviewed By: cipolleschi Differential Revision: D37995897 fbshipit-source-id: aad22100cee004944c4fa0841f5ef0dfc6ea1e94
This commit is contained in:
committed by
Facebook GitHub Bot
parent
698b14789c
commit
a22f30d2ce
@@ -1,6 +1,7 @@
|
||||
apply plugin: "com.android.application"
|
||||
|
||||
import com.android.build.OutputFile
|
||||
import org.apache.tools.ant.taskdefs.condition.Os
|
||||
|
||||
/**
|
||||
* The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import org.apache.tools.ant.taskdefs.condition.Os
|
||||
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
|
||||
buildscript {
|
||||
|
||||
Reference in New Issue
Block a user