Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,6 @@ tasks.register("build") {
dependsOn(gradle.includedBuild("react-native-gradle-plugin").task(":build"))
}

tasks.register("publishAllInsideNpmPackage") {
description =
"Publish all the artifacts to be available inside the NPM package in the `android` folder."
// Due to size constraints of NPM, we publish only react-native and hermes-engine inside
// the NPM package.
dependsOn(":packages:react-native:ReactAndroid:installArchives")
dependsOn(":packages:react-native:ReactAndroid:hermes-engine:installArchives")
}

tasks.register("publishAllToMavenTempLocal") {
description = "Publish all the artifacts to be available inside a Maven Local repository on /tmp."
dependsOn(":packages:react-native:ReactAndroid:publishAllPublicationsToMavenTempLocalRepository")
Expand Down
23 changes: 0 additions & 23 deletions packages/react-native/ReactAndroid/DevExperience.md

This file was deleted.

819 changes: 0 additions & 819 deletions packages/react-native/ReactAndroid/build.gradle

This file was deleted.

782 changes: 782 additions & 0 deletions packages/react-native/ReactAndroid/build.gradle.kts

Large diffs are not rendered by default.

10 changes: 1 addition & 9 deletions packages/react-native/ReactAndroid/hermes-engine/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ if (hermesVersionFile.exists()) {
def ndkBuildJobs = Runtime.runtime.availableProcessors().toString()
def prefabHeadersDir = new File("$buildDir/prefab-headers")

// By setting REACT_NATIVE_HERMES_SKIP_PREFAB you can skip prefab publishing, to
// reduce the size of the Hermes published .AAR.
def skipPrefabPublishing = System.getenv("REACT_NATIVE_HERMES_SKIP_PREFAB") != null

// We inject the JSI directory used inside the Hermes build with the -DJSI_DIR config.
def jsiDir = new File(reactNativeRootDir, "ReactCommon/jsi")

Expand All @@ -79,10 +75,6 @@ task downloadHermes(type: Download) {
dest(new File(downloadsDir, "hermes.tar.gz"))
}

task installArchives {
dependsOn("publishAllPublicationsToNpmRepository")
}

task unzipHermes(dependsOn: downloadHermes, type: Copy) {
from(tarTree(downloadHermes.dest)) {
eachFile { file ->
Expand Down Expand Up @@ -245,7 +237,7 @@ android {

buildFeatures {
prefab true
prefabPublishing !skipPrefabPublishing
prefabPublishing true
}

dependencies {
Expand Down
5 changes: 0 additions & 5 deletions packages/react-native/ReactAndroid/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ def signingKey = findProperty("SIGNING_KEY")
def signingPwd = findProperty("SIGNING_PWD")

def reactAndroidProjectDir = project(':packages:react-native:ReactAndroid').projectDir
def androidOutputUrl = "file://${reactAndroidProjectDir}/../android"
def mavenTempLocalUrl = "file:///tmp/maven-local"

publishing {
Expand Down Expand Up @@ -65,10 +64,6 @@ publishing {
}

repositories {
maven {
name = "npm"
url = androidOutputUrl
}
maven {
name = "mavenTempLocal"
url = mavenTempLocalUrl
Expand Down
226 changes: 0 additions & 226 deletions packages/rn-tester/android/app/build.gradle

This file was deleted.

Loading