[NEW] Enable Hermes (#1446)
This commit is contained in:
parent
7df6afdcd3
commit
8823734d43
|
@ -197,7 +197,8 @@ jobs:
|
|||
npx jetify
|
||||
cd android
|
||||
if [[ $KEYSTORE ]]; then
|
||||
./gradlew bundleRelease
|
||||
# TODO: enable app bundle again
|
||||
./gradlew assembleRelease
|
||||
else
|
||||
./gradlew assembleDebug
|
||||
fi
|
||||
|
|
|
@ -83,7 +83,7 @@ project.ext.react = [
|
|||
entryFile: "index.js",
|
||||
bundleAssetName: "app.bundle",
|
||||
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"
|
||||
|
|
|
@ -55,16 +55,16 @@ allprojects {
|
|||
}
|
||||
}
|
||||
|
||||
// subprojects { subproject ->
|
||||
// afterEvaluate {
|
||||
// if ((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
|
||||
// android {
|
||||
// compileSdkVersion 28
|
||||
// buildToolsVersion "28.0.3"
|
||||
// defaultConfig {
|
||||
// targetSdkVersion 28
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
subprojects { subproject ->
|
||||
afterEvaluate {
|
||||
if ((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
|
||||
android {
|
||||
compileSdkVersion 28
|
||||
buildToolsVersion "28.0.3"
|
||||
defaultConfig {
|
||||
targetSdkVersion 28
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue