From 5a9cb53264cb5862c1c688f680c1f1611e81c3f2 Mon Sep 17 00:00:00 2001 From: Oleg Shpynov Date: Thu, 6 Oct 2022 13:36:39 +0200 Subject: [PATCH] Updated to Java11 --- README.md | 2 +- build.gradle | 7 +++---- src/main/kotlin/org/jetbrains/bio/span/SpanCLA.kt | 3 +-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 166a803..5d69dee 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ See [releases](https://github.com/JetBrains-Research/span/releases) section for Requirements ------------ -Download and install [Java 8](http://www.java.com/en/download/). +Download and install [Java 11](http://www.java.com/en/download/). Peak calling ------------ diff --git a/build.gradle b/build.gradle index 404fa4b..b8cb024 100644 --- a/build.gradle +++ b/build.gradle @@ -25,7 +25,7 @@ apply plugin: "kotlin" mainClassName = "org.jetbrains.bio.span.SpanCLA" -sourceCompatibility = 1.8 +sourceCompatibility = 11 targetCompatibility = sourceCompatibility compileKotlin { kotlinOptions.jvmTarget = sourceCompatibility } compileTestKotlin { kotlinOptions.jvmTarget = sourceCompatibility } @@ -43,9 +43,8 @@ dependencies { implementation("org.jetbrains.kotlinx:kotlinx-support-jdk8:0.1") // Logging dependencies - implementation("ch.qos.logback:logback-classic:1.2.3") - implementation("ch.qos.logback:logback-core:1.2.3") - implementation("org.slf4j:slf4j-api:1.7.25") + implementation("ch.qos.logback:logback-classic:1.4.3") + implementation("ch.qos.logback:logback-core:1.4.3") compile project(":bioinf-commons") diff --git a/src/main/kotlin/org/jetbrains/bio/span/SpanCLA.kt b/src/main/kotlin/org/jetbrains/bio/span/SpanCLA.kt index 278cd21..3f4265f 100644 --- a/src/main/kotlin/org/jetbrains/bio/span/SpanCLA.kt +++ b/src/main/kotlin/org/jetbrains/bio/span/SpanCLA.kt @@ -39,8 +39,7 @@ object SpanCLA { * SpanCLA fails to set up correct working directory, if launched within the same process. * This is a HACK. */ - @VisibleForTesting - var ignoreConfigurePaths: Boolean = false + var ignoreConfigurePaths: Boolean = false init { // Load build properties