Skip to content

Commit

Permalink
fix travis jdk11 build problem
Browse files Browse the repository at this point in the history
  • Loading branch information
plastic-karma committed Feb 13, 2022
1 parent bf80dfd commit 75d68b1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ jobs:
include:
- stage: build
script:
- "./gradlew clean build"
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
- chmod +x $TRAVIS_BUILD_DIR/install-jdk.sh
- export JAVA_HOME=$HOME/openjdk11
- $TRAVIS_BUILD_DIR/install-jdk.sh -F 11 --target $JAVA_HOME
- "./gradlew --stacktrace clean build"
before_install:
- chmod +x gradlew
- chmod +x gradle/wrapper/gradle-wrapper.jar

0 comments on commit 75d68b1

Please sign in to comment.