diff --git a/.gitignore b/.gitignore index 586161592a9..2894b8cb28d 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,7 @@ yarn.lock .pub/ build/ dist/ +.build/ # Android specific **/android/**/build/ @@ -178,3 +179,5 @@ web-build/ web-report/ .metro-cache/ .aider* + +lefthook.yml diff --git a/sdks/react-native/android/build.gradle b/sdks/react-native/android/build.gradle deleted file mode 100644 index 92d88cae6ed..00000000000 --- a/sdks/react-native/android/build.gradle +++ /dev/null @@ -1,53 +0,0 @@ -buildscript { - repositories { - google() - mavenCentral() - } - - dependencies { - classpath("com.android.tools.build:gradle:7.3.1") - } -} - -def isNewArchitectureEnabled() { - return rootProject.hasProperty("newArchEnabled") && rootProject.getProperty("newArchEnabled") == "true" -} - -apply plugin: "com.android.library" - -import com.android.build.OutputFile - -android { - namespace "com.omi.reactnative" - compileSdkVersion 33 - - defaultConfig { - minSdkVersion 21 - targetSdkVersion 33 - buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString() - } - - buildTypes { - release { - minifyEnabled false - } - } - - lintOptions { - disable 'GradleCompatible' - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } -} - -repositories { - mavenCentral() - google() -} - -dependencies { - implementation "com.facebook.react:react-native:+" -}