diff --git a/template/android/app/build.gradle b/template/android/app/build.gradle index bb4470cd7336d7..5816fe08d543ad 100644 --- a/template/android/app/build.gradle +++ b/template/android/app/build.gradle @@ -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 diff --git a/template/android/build.gradle b/template/android/build.gradle index 338dc272f39db8..8569fee3a7f5b9 100644 --- a/template/android/build.gradle +++ b/template/android/build.gradle @@ -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 {