Closed altavir closed 4 years ago
The problem is that current build generates an unnecessary gradle metadata file for plotlykt-server and it enforces use of java 11 in gradle 5.4+.
plotlykt-server
It will be fixed once we move to a common build plugin for all scientifik projects.
scientifik
A workaround is to use nightly build from artifactory:
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.3.40" } repositories { jcenter() maven("https://dl.bintray.com/mipt-npm/dataforge") maven("https://dl.bintray.com/mipt-npm/scientifik") maven("https://dl.bintray.com/kotlin/ktor/") maven("http://npm.mipt.ru:8081/artifactory/gradle-dev") } dependencies { implementation("scientifik:plotlykt-server:0.1.2-dev-1") } tasks.withType<KotlinCompile> { kotlinOptions { jvmTarget = "1.8" } }
The problem is that current build generates an unnecessary gradle metadata file for
plotlykt-server
and it enforces use of java 11 in gradle 5.4+.It will be fixed once we move to a common build plugin for all
scientifik
projects.A workaround is to use nightly build from artifactory: