From 49e81a167fc902a2ddf52e073ec638a81d37a8bf Mon Sep 17 00:00:00 2001 From: Misagh Moayyed Date: Tue, 17 Jul 2018 15:59:04 +0430 Subject: WIP - allow jitpack to build lombok using JDK 9 --- build.xml | 18 +++++++++++------- jitpack.yml | 11 ++++++++++- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/build.xml b/build.xml index c1d13bd7..cda31318 100644 --- a/build.xml +++ b/build.xml @@ -162,17 +162,21 @@ the common tasks and can be called on to run the main aspects of all the sub-scr + + + - - - - - - - + + + + + + + + To compile lombok, you need JDK9 or higher; lombok requires this version because it's rather difficult to produce lombok builds that are compatible on JDK9 without at least building with JDK9. Sorry about that. diff --git a/jitpack.yml b/jitpack.yml index 3dc448d5..7f0593e1 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -1,2 +1,11 @@ jdk: - - openjdk9 +- openjdk9 +before_install: +- echo "*******JAVA_HOME*******\n" +- export JAVA_HOME=/usr/lib/jvm/java-9-oracle +- echo $JAVA_HOME +- echo "******Ant Version********" +- ant -version +- echo "*****Java Version*********" +- java -version +- echo "****************************" -- cgit