install:
  - wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
  - source ./install-jdk.sh --feature 12
  - ./gradlew --version
  - ./gradlew publishToMavenLocal -x test

install:
  - wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
  - source ./install-jdk.sh --feature 11
  - ./gradlew --version
  - ./gradlew publishToMavenLocal -x test

Use JDK 11 in JitPack configuration
Use JDK 11 in JitPack configuration