Skip to content

Add unsigned numbers #306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 14 commits into
base: version-0.21.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change log for kotlinx.atomicfu

# Version 0.21.0

* Updated Kotlin to 1.8.20.
* Updated Gradle to 7.3 (#300).
* Updated kotlinx.metadata version to 0.6.0 (#281).
* Removed JS Legacy configurations for KGP >= 1.9.0 (#296).
* Fixed class duplication (from original and transformed directories) in Jar (#301).
* Minimal supported KGP(1.7.0) and Gradle(7.0) versions are set since this release.

# Version 0.20.2

* Fix for unresolved `kotlinx-atomicfu-runtime` dependency error (https://youtrack.jetbrains.com/issue/KT-57235),
Expand Down
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.20.2/pom)
[![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)

>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
Expand All @@ -12,6 +12,7 @@
**Atomicfu** is a multiplatform library that provides the idiomatic and effective way of using atomic operations in Kotlin.

## Table of contents
- [Requirements](#requirements)
- [Features](#features)
- [Example](#example)
- [Quickstart](#quickstart)
Expand All @@ -31,6 +32,13 @@
- [Tracing operations](#tracing-operations)
- [Kotlin/Native support](#kotlin-native-support)

## Requirements

Starting from version `0.21.0` of the library your project is required to use:

* Gradle `7.0` or newer

* Kotlin `1.7.0` or newer

## Features

Expand Down Expand Up @@ -111,7 +119,7 @@ buildscript {
}

dependencies {
classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.20.2")
classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.21.0")
}
}

Expand All @@ -128,7 +136,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.20.2'
classpath 'org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.21.0'
}
}

Expand All @@ -146,7 +154,7 @@ Maven configuration is supported for JVM projects.

```xml
<properties>
<atomicfu.version>0.20.2</atomicfu.version>
<atomicfu.version>0.21.0</atomicfu.version>
</properties>
```

Expand Down Expand Up @@ -290,7 +298,7 @@ To set configuration options you should create `atomicfu` section in a `build.gr
like this:
```groovy
atomicfu {
dependenciesVersion = '0.20.2'
dependenciesVersion = '0.21.0'
}
```

Expand All @@ -312,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.20.2' // set to null to turn-off auto dependencies
dependenciesVersion = '0.21.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
Expand Down
Loading