[NEW] Enable Hermes (#1446)
This commit is contained in:
parent
7df6afdcd3
commit
8823734d43
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
|
|
Loading…
Reference in New Issue