From 7b764f99372fe22c6f6abf47d08ab77f948034c3 Mon Sep 17 00:00:00 2001 From: mvicsokolova Date: Mon, 14 Aug 2023 11:11:22 +0200 Subject: [PATCH 1/2] Version 0.22.0 --- CHANGES.md | 9 +++++++++ README.md | 14 +++++++------- gradle.properties | 2 +- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 13de9bcf..0e64d9ec 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,14 @@ # Change log for kotlinx.atomicfu +# Version 0.22.0 + +* Updated Kotlin to 1.9.0 (#330). +* Updated gradle version to 8.1 (#319). +* Updated kotlinx.metadata version 0.7.0 (#327). +* Conditionally removed targets that are removed after 1.9.20 (iosArm32, watchosX86). (#320). +* Removed obsolete no longer supported kotlin.mpp.enableCompatibilityMetadataVariant (#326). +* Complied with new compiler restriction on actual declaration annotations (#325). + # Version 0.21.0 * Updated Kotlin to 1.8.20. diff --git a/README.md b/README.md index da6e5c91..043eff90 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Kotlin Beta](https://kotl.in/badges/beta.svg)](https://kotlinlang.org/docs/components-stability.html) [![JetBrains official project](https://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) [![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0) -[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/atomicfu)](https://search.maven.org/artifact/org.jetbrains.kotlinx/atomicfu/0.21.0/pom) +[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/atomicfu)](https://search.maven.org/artifact/org.jetbrains.kotlinx/atomicfu/0.22.0/pom) >Note on Beta status: the plugin is in its active development phase and changes from release to release. >We do provide a compatibility of atomicfu-transformed artifacts between releases, but we do not provide @@ -34,7 +34,7 @@ ## Requirements -Starting from version `0.21.0` of the library your project is required to use: +Starting from version `0.22.0` of the library your project is required to use: * Gradle `7.0` or newer @@ -119,7 +119,7 @@ buildscript { } dependencies { - classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.21.0") + classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.22.0") } } @@ -136,7 +136,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.21.0' + classpath 'org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.22.0' } } @@ -154,7 +154,7 @@ Maven configuration is supported for JVM projects. ```xml - 0.21.0 + 0.22.0 ``` @@ -298,7 +298,7 @@ To set configuration options you should create `atomicfu` section in a `build.gr like this: ```groovy atomicfu { - dependenciesVersion = '0.21.0' + dependenciesVersion = '0.22.0' } ``` @@ -320,7 +320,7 @@ To turn off transformation for Kotlin/JS set option `transformJs` to `false`. Here are all available configuration options (with their defaults): ```groovy atomicfu { - dependenciesVersion = '0.21.0' // set to null to turn-off auto dependencies + dependenciesVersion = '0.22.0' // set to null to turn-off auto dependencies transformJvm = true // set to false to turn off JVM transformation jvmVariant = "FU" // JVM transformation variant: FU,VH, or BOTH transformJs = true // set to false to turn off JVM transformation diff --git a/gradle.properties b/gradle.properties index ac2563ea..3d4a0c76 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ # Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. # -version=0.21.0-SNAPSHOT +version=0.22.0-SNAPSHOT group=org.jetbrains.kotlinx kotlin_version=1.9.0 From 2151dcc771b9bfed15550c0389da3f250bf2d185 Mon Sep 17 00:00:00 2001 From: mvicsokolova <82594708+mvicsokolova@users.noreply.github.com> Date: Mon, 14 Aug 2023 14:06:45 +0200 Subject: [PATCH 2/2] Update of Gradle Version to 8.1 revealed the problem that publish task uses the output of sign task as an error. This commit sets the explicit dependency between Publish and Sign tasks. (#335) --- gradle/publishing.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gradle/publishing.gradle b/gradle/publishing.gradle index 8b7d8f97..bba92e09 100644 --- a/gradle/publishing.gradle +++ b/gradle/publishing.gradle @@ -30,7 +30,7 @@ publishing { repositories { // this: closure PublishingKt.configureMavenPublication(delegate, project) } - + if (!isMultiplatform) { // Configure java publications for non-MPP projects publications { @@ -61,4 +61,8 @@ publishing { it.artifact(javadocJar) } } + + tasks.withType(PublishToMavenRepository).configureEach { + dependsOn(tasks.withType(Sign)) + } }