mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-21 21:25:38 +00:00
fixed use of Android sdkmanager for Cygwin/Windows in buildAndUpdateProduct.sh
Change-Id: Ife1b5a750c17364b21bcd7145d922ddb88347745
This commit is contained in:
@@ -642,8 +642,8 @@ if [[ "$@" == "build" ]] || [[ "$@" == "all" ]]; then
|
||||
echo "BUILD_TOOLS_VERSION=$BUILD_TOOLS_VERSION"
|
||||
TARGET_API_VERSION=`grep "targetSdk = " build.gradle | cut -d "=" -f 2 | sed 's/ //g'`
|
||||
echo "TARGET_API_VERSION=$TARGET_API_VERSION"
|
||||
sdkmanager --update && yes | sdkmanager --licenses
|
||||
sdkmanager "build-tools;$BUILD_TOOLS_VERSION" "platform-tools" "platforms;android-$TARGET_API_VERSION" "tools"
|
||||
$SDK_MANAGER --update && yes | $SDK_MANAGER --licenses
|
||||
$SDK_MANAGER "build-tools;$BUILD_TOOLS_VERSION" "platform-tools" "platforms;android-$TARGET_API_VERSION" "tools"
|
||||
|
||||
# TODO: make distinction available for gradle builds as well
|
||||
# Uncomment the following line for testing an artifact stages in the SAP-central Nexus system:
|
||||
|
||||
Reference in New Issue
Block a user