update gradle

ref #54 #80 #88 #93
This commit is contained in:
Ben
2020-12-20 18:40:17 -07:00
parent caa11a406d
commit dcef3315f9
14 changed files with 266 additions and 4 deletions

1
dist.sh Executable file → Normal file
View File

@@ -334,7 +334,6 @@ android()
UPPERCASE_CONFIG="$(tr '[:lower:]' '[:upper:]' <<< ${1:0:1})${1:1}"
CMAKE_FLAGS="-DSDK_JNI=1 -DSDK_JNI=ON"
cd $ANDROID_PROJ_DIR
./gradlew $GRADLE_ARGS --recompile-scripts
./gradlew $GRADLE_ARGS assemble$UPPERCASE_CONFIG # assembleRelease / assembleDebug
mv $ANDROID_PROJ_DIR/app/build/outputs/aar/app-$1.aar \
$LIB_OUTPUT_DIR/libzt-$1.aar