Skip to content

Commit

Permalink
v2.0.0 and added linuxArm64
Browse files Browse the repository at this point in the history
  • Loading branch information
kpgalligan committed Sep 12, 2023
1 parent 38ca1c5 commit d225848
Show file tree
Hide file tree
Showing 17 changed files with 319 additions and 358 deletions.
53 changes: 0 additions & 53 deletions azure/build-pipeline.yml

This file was deleted.

60 changes: 0 additions & 60 deletions azure/deploy-pipeline.yml

This file was deleted.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ buildscript {
}

plugins {
id 'org.jetbrains.kotlinx.binary-compatibility-validator' version '0.12.1'
id 'org.jetbrains.kotlinx.binary-compatibility-validator' version '0.13.2'
}

apiValidation {
Expand Down
8 changes: 6 additions & 2 deletions deprecated/stately-collections/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ kotlin {
mingwX64()
mingwX86()
linuxX64()
linuxArm64()
linuxArm32Hfp()
linuxMips32()

Expand All @@ -59,8 +60,8 @@ kotlin {
commonMain {
dependencies {
implementation kotlin('stdlib-common')
implementation project(":stately-common")
implementation project(":stately-concurrency")
api project(":stately-common")
api project(":stately-concurrency")
}
}

Expand Down Expand Up @@ -163,6 +164,9 @@ kotlin {
linuxX64Main {
dependsOn nativeCommonMain
}
linuxArm64Main {
dependsOn nativeCommonMain
}
linuxArm32HfpMain {
dependsOn nativeCommonMain
}
Expand Down
4 changes: 4 additions & 0 deletions deprecated/stately-common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ kotlin {
mingwX64()
mingwX86()
linuxX64()
linuxArm64()
linuxArm32Hfp()
linuxMips32()

Expand Down Expand Up @@ -158,6 +159,9 @@ kotlin {
linuxX64Main {
dependsOn nativeCommonMain
}
linuxArm64Main {
dependsOn nativeCommonMain
}
linuxArm32HfpMain {
dependsOn nativeCommonMain
}
Expand Down
5 changes: 1 addition & 4 deletions deprecated/stately-iso-collections/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ kotlin {
mingwX64()
mingwX86()
linuxX64()
linuxArm64()
linuxArm32Hfp()
linuxMips32()

Expand Down Expand Up @@ -109,8 +110,4 @@ configurations {
compileClasspath
}

jsIrBrowserTest {
enabled=false
}

apply from: '../../gradle/gradle-mvn-mpp-push.gradle'
8 changes: 6 additions & 2 deletions deprecated/stately-isolate/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ kotlin {
mingwX64()
mingwX86()
linuxX64()
linuxArm64()
linuxArm32Hfp()
linuxMips32()

Expand All @@ -56,8 +57,8 @@ kotlin {
commonMain {
dependencies {
implementation kotlin('stdlib-common')
implementation project(":stately-common")
implementation project(":stately-concurrency")
api project(":stately-common")
api project(":stately-concurrency")
}
}

Expand Down Expand Up @@ -160,6 +161,9 @@ kotlin {
linuxX64Main {
dependsOn nativeCommonMain
}
linuxArm64Main {
dependsOn nativeCommonMain
}
linuxArm32HfpMain {
dependsOn nativeCommonMain
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import co.touchlab.stately.concurrency.AtomicBoolean
import co.touchlab.stately.concurrency.ThreadRef
import kotlinx.cinterop.StableRef

@OptIn(kotlinx.cinterop.ExperimentalForeignApi::class)
class GuardedStableRef<T : Any>(t: T) {
private val stableRef: StableRef<T> = StableRef.create(t)
private val threadRef = ThreadRef()
Expand Down
10 changes: 4 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
#
kotlin.code.style=official
org.gradle.jvmargs=-Xmx2g
KOTLIN_VERSION=1.8.10
KOTLIN_VERSION=1.9.10
GROUP=co.touchlab
VERSION_NAME=2.0.0-rc3
VERSION_NAME=2.0.0
TESTHELP_VERSION=0.6.5
POM_URL=https://github.com/touchlab/Stately
POM_DESCRIPTION=Multithreaded Kotlin Multiplatform Utilities
Expand All @@ -33,10 +33,8 @@ POM_DEVELOPER_ID=kpgalligan
POM_DEVELOPER_NAME=Kevin Galligan
POM_DEVELOPER_ORG=Kevin Galligan
POM_DEVELOPER_URL=https://touchlab.co/
# Compile JS for legacy backend and new IR backend.
kotlin.js.compiler=both

kotlin.js.ir.output.granularity=whole-program

kotlin.mpp.enableCInteropCommonization=true
kotlin.mpp.commonizerLogLevel=info
kotlin.mpp.enableCompatibilityMetadataVariant=true
import_orphan_source_sets=false
Loading

0 comments on commit d225848

Please sign in to comment.