From eeb37019e1c47d3a2c2040fb176248f76467098b Mon Sep 17 00:00:00 2001 From: slominskir Date: Tue, 22 Sep 2020 13:39:54 -0400 Subject: [PATCH] Declare which versions of Java are supported. Specifically, Java is no longer backwards compatible and built-in libraries such as javax/xml/bind/DataConverter have been removed in Java 9. I've actually added the following extra dependency to work around this: implementation 'org.glassfish.jaxb:jaxb-runtime:2.3.2' This is needed to provided the DataConverter class used by jlog. JLog should really be fixing this though... --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index 30a95a2..d470f62 100644 --- a/build.gradle +++ b/build.gradle @@ -12,6 +12,11 @@ ext { releaseDate = 'Sep 22 2020' } +java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 +} + repositories { jcenter()