From b8eabcac0fb4c507d4db7895649e476f70e65f7c Mon Sep 17 00:00:00 2001 From: Igor Artamonov Date: Sun, 6 Dec 2020 20:31:49 -0500 Subject: [PATCH] solution: use Java 13 as minimum supported for compilation --- build.gradle | 11 ++++++----- gradle.properties | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 45de7c24a..9cbd50682 100644 --- a/build.gradle +++ b/build.gradle @@ -23,7 +23,7 @@ plugins { id 'org.jetbrains.kotlin.jvm' version '1.3.70' id 'com.google.cloud.tools.jib' version "2.5.0" - id 'org.springframework.boot' version '2.1.4.RELEASE' + id 'org.springframework.boot' version '2.3.5.RELEASE' id 'io.spring.dependency-management' version '1.0.6.RELEASE' id 'com.palantir.git-version' version '0.12.2' id "com.google.protobuf" version "0.8.12" @@ -38,8 +38,8 @@ group = 'io.emeraldpay.dshackle' version = '0.10.0-SNAPSHOT' java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_13 + targetCompatibility = JavaVersion.VERSION_13 } repositories { @@ -123,16 +123,17 @@ dependencies { testImplementation 'org.objenesis:objenesis:3.1' testImplementation 'org.mock-server:mockserver-netty:5.10' testImplementation "nl.jqno.equalsverifier:equalsverifier:3.3" + testImplementation "org.codehaus.groovy:groovy:${groovyVersion}" } compileKotlin { kotlinOptions { - jvmTarget = "11" + jvmTarget = "13" } } compileTestKotlin { kotlinOptions { - jvmTarget = "11" + jvmTarget = "13" } } diff --git a/gradle.properties b/gradle.properties index c43dbb377..62a3114e8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # Languages -groovyVersion=2.5.5 +groovyVersion=2.5.14 kotlinVersion=1.3.11 protocVersion=3.9.0 # Main Libs @@ -7,7 +7,7 @@ slf4jVersion=1.7.25 jacksonVersion=2.11.0 grpcVersion=1.25.0 reactiveGrpcVersion=1.0.1 -springBootVersion=2.1.14.RELEASE +springBootVersion=2.3.5.RELEASE springVersion=5.2.6.RELEASE springSecurtyVersion=5.3.2.RELEASE reactorVersion=3.3.5.RELEASE