Kotlin 1.9.23 (#43)

* Bump to kotlin 1.9.23

* Update msvc dll

* Update changelog
This commit is contained in:
Ugljesa Jovanovic 2024-04-06 20:43:46 +02:00 committed by GitHub
parent 1424db0336
commit 670fcc2b2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 13 additions and 24 deletions

View File

@ -3,6 +3,9 @@
#### 0.9.1-SNAPSHOT - current development snapshot
- Fix #42, return values from libsodium calls are now checked
- Bump kotlin to 1.9.23
- Update to latest libsodium
- Update latest MSVC library
#### 0.9.0 - 23.9.2023
- Breaking changes:

View File

@ -18,9 +18,9 @@
buildscript {
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.10")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23")
classpath("com.android.tools.build:gradle:7.2.2")
classpath ("org.jetbrains.dokka:dokka-gradle-plugin:1.8.20")
classpath ("org.jetbrains.dokka:dokka-gradle-plugin:1.9.20")
}
repositories {

View File

@ -28,9 +28,9 @@ repositories {
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.10")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23")
implementation("com.android.tools.build:gradle:7.2.2")
implementation ("org.jetbrains.dokka:dokka-gradle-plugin:1.8.20")
implementation ("org.jetbrains.dokka:dokka-gradle-plugin:1.9.20")
}
System.setProperty("PROJECT_PATH", project.projectDir.parentFile.toString())

View File

@ -15,9 +15,9 @@
*/
object Versions {
val kotlinCoroutines = "1.7.3"
val kotlin = "1.9.10"
val kotlinSerialization = "1.6.0"
val kotlinCoroutines = "1.8.0"
val kotlin = "1.9.23"
val kotlinSerialization = "1.6.3"
val kotlinSerializationPlugin = kotlin
val taskTreePlugin = "1.5"
val kotlinBigNumVersion = "0.3.7"

View File

@ -4,7 +4,7 @@ package com.ionspin.kotlin.crypto
import com.ionspin.kotlin.crypto.GeneralLibsodiumException.Companion.ensureLibsodiumSuccess
import libsodium.sodium_init
import kotlin.native.concurrent.AtomicInt
import kotlin.concurrent.AtomicInt
actual object LibsodiumInitializer {

View File

@ -118,20 +118,12 @@ kotlin {
}
}
}
val iosArm32Target = iosArm32() {
binaries {
framework {
baseName = "LibsodiumBindings"
export(Deps.Common.libsodiumBindings)
}
}
}
val macosX64Target = macosX64()
val tvosX64Target = tvosX64()
val tvosArm64Target = tvosArm64()
val watchosArm64Target = watchosArm64()
val watchosArm32Target = watchosArm32()
val watchosX86Target = watchosX86()
configure(listOf(macosX64Target)) {
binaries.executable {}
@ -159,7 +151,6 @@ kotlin {
from(
iosX64Target.binaries.getFramework(mode),
iosArm64Target.binaries.getFramework(mode),
iosArm32Target.binaries.getFramework(mode)
)
}
}
@ -323,12 +314,7 @@ kotlin {
dependsOn(nativeTest)
}
val iosArm32Main by getting {
dependsOn(nativeMain)
}
val iosArm32Test by getting {
dependsOn(nativeTest)
}
val macosX64Main by getting {
dependsOn(nativeMain)