Skip to content

Commit

Permalink
chore(rn-tester): Fix configureNdkBuild task
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldonadel committed Feb 15, 2022
1 parent 704fe25 commit f02c083
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/rn-tester/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,16 @@ if (enableCodegen) {
}

afterEvaluate {
reactNativeArchitectures().each { architecture ->
tasks.named("configureNdkBuildDebug[${architecture}]") {
dependsOn("preHermesDebugBuild")
dependsOn("preJscDebugBuild")
}
tasks.named("configureNdkBuildRelease[${architecture}]") {
dependsOn("preHermesReleaseBuild")
dependsOn("preJscReleaseBuild")
}
}
configureNdkBuildRelease.dependsOn(packageReactReleaseNdkLibs)
preHermesReleaseBuild.dependsOn(packageReactReleaseNdkLibs)
preJscReleaseBuild.dependsOn(packageReactReleaseNdkLibs)
Expand Down

0 comments on commit f02c083

Please sign in to comment.