[NEW] Enable Hermes (#1446)

This commit is contained in:
Diego Mello 2019-12-11 16:23:16 -03:00 committed by GitHub
parent 7df6afdcd3
commit 8823734d43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 15 deletions

View File

@ -197,7 +197,8 @@ jobs:
npx jetify npx jetify
cd android cd android
if [[ $KEYSTORE ]]; then if [[ $KEYSTORE ]]; then
./gradlew bundleRelease # TODO: enable app bundle again
./gradlew assembleRelease
else else
./gradlew assembleDebug ./gradlew assembleDebug
fi fi

View File

@ -83,7 +83,7 @@ project.ext.react = [
entryFile: "index.js", entryFile: "index.js",
bundleAssetName: "app.bundle", bundleAssetName: "app.bundle",
iconFontNames: [ 'custom.ttf' ], iconFontNames: [ 'custom.ttf' ],
enableHermes: false, // clean and rebuild if changing enableHermes: true, // clean and rebuild if changing
] ]
apply from: "../../node_modules/react-native/react.gradle" apply from: "../../node_modules/react-native/react.gradle"

View File

@ -55,16 +55,16 @@ allprojects {
} }
} }
// subprojects { subproject -> subprojects { subproject ->
// afterEvaluate { afterEvaluate {
// if ((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) { if ((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
// android { android {
// compileSdkVersion 28 compileSdkVersion 28
// buildToolsVersion "28.0.3" buildToolsVersion "28.0.3"
// defaultConfig { defaultConfig {
// targetSdkVersion 28 targetSdkVersion 28
// } }
// } }
// } }
// } }
// } }