Kotlin 1.9.23 (#43)
* Bump to kotlin 1.9.23 * Update msvc dll * Update changelog
This commit is contained in:
parent
1424db0336
commit
670fcc2b2b
@ -3,6 +3,9 @@
|
|||||||
|
|
||||||
#### 0.9.1-SNAPSHOT - current development snapshot
|
#### 0.9.1-SNAPSHOT - current development snapshot
|
||||||
- Fix #42, return values from libsodium calls are now checked
|
- 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
|
#### 0.9.0 - 23.9.2023
|
||||||
- Breaking changes:
|
- Breaking changes:
|
||||||
|
@ -18,9 +18,9 @@
|
|||||||
buildscript {
|
buildscript {
|
||||||
|
|
||||||
dependencies {
|
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("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 {
|
repositories {
|
||||||
|
@ -28,9 +28,9 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
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("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())
|
System.setProperty("PROJECT_PATH", project.projectDir.parentFile.toString())
|
||||||
|
@ -15,9 +15,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
object Versions {
|
object Versions {
|
||||||
val kotlinCoroutines = "1.7.3"
|
val kotlinCoroutines = "1.8.0"
|
||||||
val kotlin = "1.9.10"
|
val kotlin = "1.9.23"
|
||||||
val kotlinSerialization = "1.6.0"
|
val kotlinSerialization = "1.6.3"
|
||||||
val kotlinSerializationPlugin = kotlin
|
val kotlinSerializationPlugin = kotlin
|
||||||
val taskTreePlugin = "1.5"
|
val taskTreePlugin = "1.5"
|
||||||
val kotlinBigNumVersion = "0.3.7"
|
val kotlinBigNumVersion = "0.3.7"
|
||||||
|
Binary file not shown.
@ -4,7 +4,7 @@ package com.ionspin.kotlin.crypto
|
|||||||
|
|
||||||
import com.ionspin.kotlin.crypto.GeneralLibsodiumException.Companion.ensureLibsodiumSuccess
|
import com.ionspin.kotlin.crypto.GeneralLibsodiumException.Companion.ensureLibsodiumSuccess
|
||||||
import libsodium.sodium_init
|
import libsodium.sodium_init
|
||||||
import kotlin.native.concurrent.AtomicInt
|
import kotlin.concurrent.AtomicInt
|
||||||
|
|
||||||
actual object LibsodiumInitializer {
|
actual object LibsodiumInitializer {
|
||||||
|
|
||||||
|
@ -118,20 +118,12 @@ kotlin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val iosArm32Target = iosArm32() {
|
|
||||||
binaries {
|
|
||||||
framework {
|
|
||||||
baseName = "LibsodiumBindings"
|
|
||||||
export(Deps.Common.libsodiumBindings)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
val macosX64Target = macosX64()
|
val macosX64Target = macosX64()
|
||||||
val tvosX64Target = tvosX64()
|
val tvosX64Target = tvosX64()
|
||||||
val tvosArm64Target = tvosArm64()
|
val tvosArm64Target = tvosArm64()
|
||||||
val watchosArm64Target = watchosArm64()
|
val watchosArm64Target = watchosArm64()
|
||||||
val watchosArm32Target = watchosArm32()
|
val watchosArm32Target = watchosArm32()
|
||||||
val watchosX86Target = watchosX86()
|
|
||||||
|
|
||||||
configure(listOf(macosX64Target)) {
|
configure(listOf(macosX64Target)) {
|
||||||
binaries.executable {}
|
binaries.executable {}
|
||||||
@ -159,7 +151,6 @@ kotlin {
|
|||||||
from(
|
from(
|
||||||
iosX64Target.binaries.getFramework(mode),
|
iosX64Target.binaries.getFramework(mode),
|
||||||
iosArm64Target.binaries.getFramework(mode),
|
iosArm64Target.binaries.getFramework(mode),
|
||||||
iosArm32Target.binaries.getFramework(mode)
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -323,12 +314,7 @@ kotlin {
|
|||||||
dependsOn(nativeTest)
|
dependsOn(nativeTest)
|
||||||
}
|
}
|
||||||
|
|
||||||
val iosArm32Main by getting {
|
|
||||||
dependsOn(nativeMain)
|
|
||||||
}
|
|
||||||
val iosArm32Test by getting {
|
|
||||||
dependsOn(nativeTest)
|
|
||||||
}
|
|
||||||
|
|
||||||
val macosX64Main by getting {
|
val macosX64Main by getting {
|
||||||
dependsOn(nativeMain)
|
dependsOn(nativeMain)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user