Skip to content

Commit e2b1249

Browse files
committed
Version 0.10.3-native
1 parent 8fe3129 commit e2b1249

File tree

5 files changed

+20
-4
lines changed

5 files changed

+20
-4
lines changed

CHANGES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Change log for kotlinx.atomicfu
22

3+
## Version 0.10.3-native
4+
5+
* Kotlin 1.2.51.
6+
* Initial Kotlin/Native support:
7+
* Build for Kotlin/Native 0.8.
8+
* Only JS-like single-threaded applications are supported (no actual atomics).
9+
* Supported targets: "ios_arm64", "ios_arm32", "ios_x64", "macos_x64".
10+
* NOTE: This version is not available in NPM and Maven Central. Use this Bintray repository:
11+
* `maven { url "https://kotlin.bintray.com/kotlinx" }`
12+
313
## Version 0.10.3
414

515
* Kotlin 1.2.50.

atomicfu-native/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
apply plugin: 'kotlin-platform-native'
22

3+
def currentOS = System.getProperty("os.name").toLowerCase(Locale.US)
4+
def currentTargets = currentOS.contains("mac") ? ["ios_arm64", "ios_arm32", "ios_x64", "macos_x64"] : ["host"]
5+
36
sourceSets {
47
main {
58
component {
6-
target "host" // "ios_arm64", "ios_x64", "macos_x64", "linux_x64"
9+
target currentTargets
710
outputKinds = [KLIBRARY]
811
}
912
}

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
version = 0.10.3
1+
version = 0.10.3-native
22
group = org.jetbrains.kotlinx
33

4-
kotlin_version = 1.2.50
4+
kotlin_version = 1.2.51
55
kotlin_native_version = 0.8
66
asm_version = 5.2
77
slf4j_version = 1.8.0-alpha2

gradle/publish-bintray.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ bintray {
8888

8989
// TODO :kludge this is required for K/N publishing
9090
bintrayUpload.dependsOn publishToMavenLocal
91+
92+
// This is for easier debugging of bintray uploading problems
9193
bintrayUpload.doFirst {
9294
publications = project.publishing.publications.findAll { !it.name.contains('-test') }.collect {
9395
println("Uploading artifact '$it.groupId:$it.artifactId:$it.version' from publication '$it.name'")
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#Thu Jul 12 16:45:02 MSK 2018
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-all.zip

0 commit comments

Comments
 (0)