Get latest Gradle (ver. 4.10.2)

Recovery of Gradle build. 1 of N
Modified several apt configurationss and order of the build
This commit is contained in:
Park DongHa 2018-11-02 16:04:57 +00:00 committed by Victor Zverovich
parent a23d592472
commit d951f6dfe7

View File

@ -83,39 +83,42 @@ matrix:
- g++-4.4 - g++-4.4
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
# Android # Android
# - language: android - language: android
# android: addons:
# addons: apt:
# apt: update: true
# update: true sources:
# components: - ubuntu-toolchain-r-test
# - tools packages:
# - platform-tools - wget
# - android-21 - unzip
# - sys-img-armeabi-v7a-android-21 - tree
# env: android:
# - ANDROID=true components:
# before_install: - tools
# - git submodule update --init --recursive - platform-tools
# - sudo apt-get install wget unzip tree - android-21
# install: env:
# # Accept SDK Licenses + Install NDK - ANDROID=true
# - yes | sdkmanager --update > /dev/null 2>&1 before_install:
# - sdkmanager ndk-bundle > /dev/null 2>&1 # Download/Install Gradle
# # Download Gradle 4.3.1 - wget https://services.gradle.org/distributions/gradle-4.10.2-bin.zip
# - wget https://services.gradle.org/distributions/gradle-4.3.1-bin.zip - mkdir -p gradle
# - mkdir -p gradle - unzip -q -d ./gradle gradle-4.10.2-bin.zip
# - unzip -q -d ./gradle gradle-4.3.1-bin.zip - export GRADLE=gradle/gradle-4.10.2/bin/gradle
# - export GRADLE=${TRAVIS_BUILD_DIR}/gradle/gradle-4.3.1/bin/gradle - bash $GRADLE --version
# before_script: install:
# - bash $GRADLE --version # Accept SDK Licenses + Install NDK
# - cd ./support - yes | sdkmanager --update > /dev/null 2>&1
# script: - sdkmanager ndk-bundle > /dev/null 2>&1
# - bash $GRADLE clean assemble before_script:
# after_success: - pushd ./support
# - cd ${TRAVIS_BUILD_DIR} script:
# - tree ./libs - bash $GRADLE clean assemble
after_success:
- popd;
- tree ./libs
before_script: before_script:
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then export CXX=${COMPILER}; fi - if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then export CXX=${COMPILER}; fi