Skip to content

Commit

Permalink
Merge pull request #399 from okta/remove_rn_gradle_plugin
Browse files Browse the repository at this point in the history
Remove react-native gradle plugin
  • Loading branch information
rajdeepnanua-okta authored Dec 18, 2023
2 parents a0fc9ab + ef6c45d commit 66a8beb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
10 changes: 0 additions & 10 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ buildscript {
// Matches recent template from React Native (0.59)
// https://github.com/facebook/react-native/blob/0.59-stable/template/android/build.gradle#L16
classpath 'com.android.tools.build:gradle:7.4.2'
classpath("com.facebook.react:react-native-gradle-plugin")
}
}

Expand All @@ -29,7 +28,6 @@ plugins {
}

apply plugin: 'com.android.library'
apply plugin: "com.facebook.react"

def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
Expand Down Expand Up @@ -60,14 +58,6 @@ android {

allprojects {
repositories {
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url(new File(['node', '--print', "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim(), '../android'))
}
maven {
// Android JSC is installed from npm
url(new File(['node', '--print', "require.resolve('jsc-android/package.json')"].execute(null, rootDir).text.trim(), '../dist'))
}
mavenCentral()
google()
maven { url 'https://www.jitpack.io' }
Expand Down
3 changes: 0 additions & 3 deletions android/settings.gradle

This file was deleted.

0 comments on commit 66a8beb

Please sign in to comment.