From 07070f1a3a0b8b9f9334a327f9a60d393b2501bc Mon Sep 17 00:00:00 2001 From: Maria Sokolova Date: Thu, 28 Nov 2024 10:46:05 +0100 Subject: [PATCH] Version 0.26.1 --- CHANGES.md | 6 +++++ README.md | 22 +++++++++---------- gradle.properties | 2 +- .../jdk-compatibility/gradle.properties | 2 +- .../examples/jvm-sample/gradle.properties | 2 +- .../examples/mpp-sample/gradle.properties | 2 +- .../gradle/libs.versions.toml | 2 +- .../multi-module-test/gradle.properties | 2 +- .../plugin-order-bug/gradle.properties | 2 +- 9 files changed, 24 insertions(+), 18 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index acdb715f..8fe210f9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,11 @@ # Change log for kotlinx.atomicfu +# Version 0.26.1 +* Fixed configuration cache problem during publication and enabled `org.gradle.configuration-cache` (#486). Kudos to @dkrasnoff! 🎉 +* Fixed publication of `atomicfu-maven-plugin` artifacts (#490). +* Updated build cache authorisation (#487). +* Update Gradle to 8.10.2. + # Version 0.26.0 * Updated Kotlin to `2.0.21` (#479). diff --git a/README.md b/README.md index 1f17b3b4..f577bb73 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.26.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.26.1/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 @@ -112,7 +112,7 @@ operations. They can be also atomically modified via `+=` and `-=` operators. ### Apply plugin #### Gradle configuration -> **New plugin id:** Please pay attention, that starting from version `0.26.0` the plugin id is `org.jetbrains.kotlinx.atomicfu` +> **New plugin id:** Please pay attention, that starting from version `0.26.1` the plugin id is `org.jetbrains.kotlinx.atomicfu` Add the following to your top-level build file: @@ -121,7 +121,7 @@ Add the following to your top-level build file: ```kotlin plugins { - id("org.jetbrains.kotlinx.atomicfu") version "0.26.0" + id("org.jetbrains.kotlinx.atomicfu") version "0.26.1" } ``` @@ -131,7 +131,7 @@ plugins { ```groovy plugins { - id 'org.jetbrains.kotlinx.atomicfu' version '0.26.0' + id 'org.jetbrains.kotlinx.atomicfu' version '0.26.1' } ``` @@ -149,7 +149,7 @@ buildscript { } dependencies { - classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.26.0") + classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.26.1") } } @@ -166,7 +166,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.26.0' + classpath 'org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.26.1' } } @@ -184,7 +184,7 @@ Maven configuration is supported for JVM projects. ```xml - 0.26.0 + 0.26.1 ``` @@ -288,7 +288,7 @@ IR for all the target backends: To turn on IR transformations set the following properties in your `gradle.properties` file: -> Please note, that starting from version `0.26.0` of the library your project is required to use `Kotlin version >= 1.9.0`. +> Please note, that starting from version `0.26.1` of the library your project is required to use `Kotlin version >= 1.9.0`. > See the [requirements section](#Requirements). ```groovy @@ -331,7 +331,7 @@ To set configuration options you should create `atomicfu` section in a `build.gr like this: ```groovy atomicfu { - dependenciesVersion = '0.26.0' + dependenciesVersion = '0.26.1' } ``` @@ -348,13 +348,13 @@ Here are the valid options: ### JS options -> Starting with version `0.26.0` `transformJs` flag does not take any effect and is disabled by default. +> Starting with version `0.26.1` `transformJs` flag does not take any effect and is disabled by default. > Please ensure that this flag is not used in the atomicfu configuration of your project, you can safely remove it. Here are all available configuration options (with their defaults): ```groovy atomicfu { - dependenciesVersion = '0.26.0' // set to null to turn-off auto dependencies + dependenciesVersion = '0.26.1' // 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 } diff --git a/gradle.properties b/gradle.properties index 65b5d737..9bb7bb3d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ # Copyright 2017-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. # -version=0.26.0-SNAPSHOT +version=0.26.1-SNAPSHOT group=org.jetbrains.kotlinx kotlin.native.ignoreDisabledTargets=true diff --git a/integration-testing/examples/jdk-compatibility/gradle.properties b/integration-testing/examples/jdk-compatibility/gradle.properties index aaaa206e..a83c7d7e 100644 --- a/integration-testing/examples/jdk-compatibility/gradle.properties +++ b/integration-testing/examples/jdk-compatibility/gradle.properties @@ -2,6 +2,6 @@ ## Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. ## kotlin_version=2.0.21 -atomicfu_version=0.26.0-SNAPSHOT +atomicfu_version=0.26.1-SNAPSHOT org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=2g diff --git a/integration-testing/examples/jvm-sample/gradle.properties b/integration-testing/examples/jvm-sample/gradle.properties index aaaa206e..a83c7d7e 100644 --- a/integration-testing/examples/jvm-sample/gradle.properties +++ b/integration-testing/examples/jvm-sample/gradle.properties @@ -2,6 +2,6 @@ ## Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. ## kotlin_version=2.0.21 -atomicfu_version=0.26.0-SNAPSHOT +atomicfu_version=0.26.1-SNAPSHOT org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=2g diff --git a/integration-testing/examples/mpp-sample/gradle.properties b/integration-testing/examples/mpp-sample/gradle.properties index aaaa206e..a83c7d7e 100644 --- a/integration-testing/examples/mpp-sample/gradle.properties +++ b/integration-testing/examples/mpp-sample/gradle.properties @@ -2,6 +2,6 @@ ## Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. ## kotlin_version=2.0.21 -atomicfu_version=0.26.0-SNAPSHOT +atomicfu_version=0.26.1-SNAPSHOT org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=2g diff --git a/integration-testing/examples/mpp-version-catalog/gradle/libs.versions.toml b/integration-testing/examples/mpp-version-catalog/gradle/libs.versions.toml index 69431db6..bed9077b 100644 --- a/integration-testing/examples/mpp-version-catalog/gradle/libs.versions.toml +++ b/integration-testing/examples/mpp-version-catalog/gradle/libs.versions.toml @@ -1,7 +1,7 @@ [versions] junit = "4.13.2" kotlin = "2.0.21" -atomicfu = "0.26.0-SNAPSHOT" +atomicfu = "0.26.1-SNAPSHOT" ktor = "2.3.8" logback = "1.5.0" diff --git a/integration-testing/examples/multi-module-test/gradle.properties b/integration-testing/examples/multi-module-test/gradle.properties index 77434cc8..ac41e479 100644 --- a/integration-testing/examples/multi-module-test/gradle.properties +++ b/integration-testing/examples/multi-module-test/gradle.properties @@ -1,4 +1,4 @@ kotlin_version=2.0.21 -atomicfu_version=0.26.0-SNAPSHOT +atomicfu_version=0.26.1-SNAPSHOT org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=2g diff --git a/integration-testing/examples/plugin-order-bug/gradle.properties b/integration-testing/examples/plugin-order-bug/gradle.properties index 4cd86e1f..e0ff4c44 100644 --- a/integration-testing/examples/plugin-order-bug/gradle.properties +++ b/integration-testing/examples/plugin-order-bug/gradle.properties @@ -2,6 +2,6 @@ ## Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. ## kotlin_version=1.9.20 -atomicfu_version=0.26.0-SNAPSHOT +atomicfu_version=0.26.1-SNAPSHOT org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=2g