Skip to content

Commit

Permalink
solution: use Java 13 as minimum supported for compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
splix committed Dec 7, 2020
1 parent 2518c28 commit b8eabca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 {
Expand Down Expand Up @@ -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"
}
}

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Languages
groovyVersion=2.5.5
groovyVersion=2.5.14
kotlinVersion=1.3.11
protocVersion=3.9.0
# Main Libs
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
Expand Down

0 comments on commit b8eabca

Please sign in to comment.