Summary: This builds the java bindings with gradle, and adds a script for Facebook employees to upload the generated artifacts to JCenter. Reviewed By: emilsjolander Differential Revision: D4597335 fbshipit-source-id: 4c01695a8638000a417bfb49deba4b9b9b4e114b
17 lines
449 B
Bash
Executable File
17 lines
449 B
Bash
Executable File
#!/bin/bash
|
|
|
|
buck build //android:android
|
|
|
|
X86_DEST=build/buck-out/jniLibs/x86
|
|
ARMV7_DEST=build/buck-out/jniLibs/armabi-v7a
|
|
|
|
mkdir -p $X86_DEST
|
|
mkdir -p $ARMV7_DEST
|
|
|
|
cp ../buck-out/gen/java/jni#android-armv7,shared/libyoga.so $ARMV7_DEST
|
|
cp ../buck-out/gen/java/jni#android-x86,shared/libyoga.so $X86_DEST
|
|
|
|
cp ../buck-out/gen/yoga#android-armv7,shared/libyogacore.so $ARMV7_DEST
|
|
cp ../buck-out/gen/yoga#android-x86,shared/libyogacore.so $X86_DEST
|
|
|