Skip to content

Instantly share code, notes, and snippets.

View mehranabi's full-sized avatar
🕶️

S. Mehran Abghari mehranabi

🕶️
View GitHub Profile
@mehranabi
mehranabi / react.gradle
Created July 24, 2019 11:50
react.gradle to make Hermes engine work!
// Copyright (c) Facebook, Inc. and its affiliates.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
import org.apache.tools.ant.taskdefs.condition.Os
def config = project.hasProperty("react") ? project.react : [];
def cliPath = config.cliPath ?: "node_modules/react-native/cli.js"