047754e8fa
Update the android sdk build tools from 27.0.3 to 28.0.1, bringing in d8 which is replacing dx. This needs an update of the Docker image, so run scripts/update-docker.sh to update it.
22 lines
463 B
Bash
Executable File
22 lines
463 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
check_package() { # path
|
|
local path=$1
|
|
local pkg=`basename $path`
|
|
TERMUX_PKG_REVISION=0
|
|
TERMUX_ARCH=aarch64
|
|
TERMUX_NDK_VERSION=17
|
|
TERMUX_ANDROID_BUILD_TOOLS_VERSION=28.0.1
|
|
. $path/build.sh
|
|
if [ "$TERMUX_PKG_REVISION" != "0" ] || [ "$TERMUX_PKG_VERSION" != "${TERMUX_PKG_VERSION/-/}" ]; then
|
|
TERMUX_PKG_VERSION+="-$TERMUX_PKG_REVISION"
|
|
fi
|
|
echo "$pkg=$TERMUX_PKG_VERSION"
|
|
}
|
|
|
|
for path in packages/*; do
|
|
(
|
|
check_package $path
|
|
)
|
|
done
|