From be1767f0907ad1f7d1f0f3421ee3f845d5759162 Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Sun, 10 Jul 2022 11:46:20 +0300 Subject: [PATCH] 0.11.8 up versions --- .space.kts | 10 ++++++++++ CHANGELOG.md | 3 +++ .../kotlin/ru/mipt/npm/gradle/commonConfigurations.kt | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .space.kts diff --git a/.space.kts b/.space.kts new file mode 100644 index 0000000..fd773a6 --- /dev/null +++ b/.space.kts @@ -0,0 +1,10 @@ +job("Build") { + gradlew("openjdk:11", "build") +} + +job("Publish"){ + startOn { + gitPush { enabled = false } + } + gradlew("openjdk:11", "publishAllPublicationsToSpaceRepository") +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 860c47a..8403843 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added +- Add `-Xjdk-release` key ### Changed +- Kotlin 1.7.10 +- Versions update ### Deprecated diff --git a/src/main/kotlin/ru/mipt/npm/gradle/commonConfigurations.kt b/src/main/kotlin/ru/mipt/npm/gradle/commonConfigurations.kt index 7f4ac18..a732072 100644 --- a/src/main/kotlin/ru/mipt/npm/gradle/commonConfigurations.kt +++ b/src/main/kotlin/ru/mipt/npm/gradle/commonConfigurations.kt @@ -15,7 +15,7 @@ import ru.mipt.npm.gradle.internal.applySettings import ru.mipt.npm.gradle.internal.fromJsDependencies -private val defaultJvmArgs: List = listOf("-Xjvm-default=all", "-Xlambdas=indy", "-Xjdk-release=11") +private val defaultJvmArgs: List = listOf("-Xjvm-default=all", "-Xlambdas=indy", "-Xjdk-release=${KScienceVersions.JVM_TARGET}") public fun Project.configureKScience( kotlinVersion: KotlinVersion, -- 2.34.1