build react native reanimated from source
This commit is contained in:
parent
65410b9a71
commit
07c9bf455f
@ -26,18 +26,22 @@ Builds:
|
|||||||
- tar xJf node.tar.xz
|
- tar xJf node.tar.xz
|
||||||
- cp -a node-v16.13.1-linux-x64/. /usr/local/
|
- cp -a node-v16.13.1-linux-x64/. /usr/local/
|
||||||
- rm -rf node-v16.13.1-linux-x64/ node.tar.xz
|
- rm -rf node-v16.13.1-linux-x64/ node.tar.xz
|
||||||
|
- npm --global install yarn
|
||||||
init:
|
init:
|
||||||
- cd ../..
|
- cd ../..
|
||||||
- npm install --no-optional
|
- npm install --no-optional
|
||||||
gradle:
|
gradle:
|
||||||
- yes
|
- yes
|
||||||
output: build/outputs/apk/release/app-release-unsigned.apk
|
output: build/outputs/apk/release/app-release-unsigned.apk
|
||||||
|
srclibs:
|
||||||
|
- react-native-reanimated@2.3.1
|
||||||
|
prebuild: echo -e "android { packagingOptions { pickFirst 'lib/**/*.so' } }" >>
|
||||||
|
build.gradle
|
||||||
scanignore:
|
scanignore:
|
||||||
- Nunti/android/build.gradle
|
- Nunti/android/build.gradle
|
||||||
- Nunti/node_modules/jsc-android
|
- Nunti/node_modules/jsc-android
|
||||||
- Nunti/node_modules/react-native/android
|
- Nunti/node_modules/react-native/android
|
||||||
- Nunti/node_modules/hermes-engine
|
- Nunti/node_modules/hermes-engine
|
||||||
- Nunti/node_modules/react-native-reanimated/android
|
|
||||||
- Nunti/node_modules/react-native-vector-icons/android/build.gradle
|
- Nunti/node_modules/react-native-vector-icons/android/build.gradle
|
||||||
- Nunti/node_modules/react-native-safe-area-context/android/build.gradle
|
- Nunti/node_modules/react-native-safe-area-context/android/build.gradle
|
||||||
- Nunti/node_modules/react-native-pager-view/android/build.gradle
|
- Nunti/node_modules/react-native-pager-view/android/build.gradle
|
||||||
@ -47,7 +51,17 @@ Builds:
|
|||||||
- Nunti/node_modules/react-native/ReactAndroid/build.gradle
|
- Nunti/node_modules/react-native/ReactAndroid/build.gradle
|
||||||
scandelete:
|
scandelete:
|
||||||
- Nunti/node_modules
|
- Nunti/node_modules
|
||||||
ndk: r23b
|
build:
|
||||||
|
- REACT_NATIVE_VERSION=`npm pkg get 'dependencies.react-native' | sed -E 's/^"([0-9]+\.[0-9]+\.[0-9]+)"/\1/'`
|
||||||
|
- REACT_NATIVE_VERSION_MINOR=`echo ${REACT_NATIVE_VERSION} | sed -E 's/^[0-9]+\.([0-9]+)\.[0-9]+/\1/'`
|
||||||
|
- pushd $$react-native-reanimated$$
|
||||||
|
- pushd ..
|
||||||
|
- yarn add react-native@"${REACT_NATIVE_VERSION}"
|
||||||
|
- popd
|
||||||
|
- FOR_HERMES=True gradle :assembleRelease
|
||||||
|
- popd
|
||||||
|
- mv $$react-native-reanimated$$/build/outputs/aar/android-release.aar ../../node_modules/react-native-reanimated/android/react-native-reanimated-${REACT_NATIVE_VERSION_MINOR}-hermes.aar
|
||||||
|
ndk: r23
|
||||||
|
|
||||||
AutoUpdateMode: Version %v
|
AutoUpdateMode: Version %v
|
||||||
UpdateCheckMode: Tags
|
UpdateCheckMode: Tags
|
||||||
|
@ -6,3 +6,4 @@ Subdir: android
|
|||||||
Prepare: |
|
Prepare: |
|
||||||
rm -rf Example
|
rm -rf Example
|
||||||
rm -rf ios
|
rm -rf ios
|
||||||
|
yarn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user