Skip to content

Commit b600963

Browse files
Bump kotlin from 1.8.22 to 1.9.0 (#225)
* Bump kotlin from 1.8.22 to 1.9.0 Bumps `kotlin` from 1.8.22 to 1.9.0. Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.8.22 to 1.9.0 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](JetBrains/kotlin@v1.8.22...v1.9.0) Updates `org.jetbrains.kotlin:kotlin-serialization` from 1.8.22 to 1.9.0 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](JetBrains/kotlin@v1.8.22...v1.9.0) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-serialization dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump Kotlin to 1.9.0 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: hfhbd <[email protected]>
1 parent 731debd commit b600963

File tree

10 files changed

+250
-506
lines changed

10 files changed

+250
-506
lines changed

.github/workflows/CD.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Publish
3333
run: ./gradlew -Pversion=$version -Dorg.gradle.parallel=false publish closeAndReleaseStagingRepository
3434
env:
35-
SIGNING_PRIVATE_KEY: ${{ secrets.SIGNING_PRIVATE_KEY }}
36-
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
37-
SONARTYPE_APIKEY: ${{ secrets.SONARTYPE_APIKEY }}
38-
SONARTYPE_APITOKEN: ${{ secrets.SONARTYPE_APITOKEN }}
35+
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_PRIVATE_KEY }}
36+
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
37+
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONARTYPE_APIKEY }}
38+
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONARTYPE_APITOKEN }}

.github/workflows/CI.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515
permissions:
16+
contents: write
1617
security-events: write
1718

1819
steps:

build.gradle.kts

-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ tasks.dokkaHtmlMultiModule {
1919
nexusPublishing {
2020
this.repositories {
2121
sonatype {
22-
username.set(System.getProperty("sonartype.apiKey") ?: System.getenv("SONARTYPE_APIKEY"))
23-
password.set(System.getProperty("sonartype.apiToken") ?: System.getenv("SONARTYPE_APITOKEN"))
2422
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
2523
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
2624
}

gradle/libs.versions.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
kotlin = "1.8.22"
2+
kotlin = "1.9.0"
33
serialization = "1.5.1"
44
exposed = "0.41.1"
55

kotlin-js-store/yarn.lock

+237-497
Large diffs are not rendered by default.

kotlinx-uuid-core/api/kotlinx-uuid-core.api

+1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ public final class kotlinx/uuid/UUID$Version : java/lang/Enum {
103103
public static final field NAME_BASED_SHA1 Lkotlinx/uuid/UUID$Version;
104104
public static final field RANDOM_BASED Lkotlinx/uuid/UUID$Version;
105105
public static final field TIME_BASED Lkotlinx/uuid/UUID$Version;
106+
public static fun getEntries ()Lkotlin/enums/EnumEntries;
106107
public static fun valueOf (Ljava/lang/String;)Lkotlinx/uuid/UUID$Version;
107108
public static fun values ()[Lkotlinx/uuid/UUID$Version;
108109
}

kotlinx-uuid-core/src/appleMain/kotlin/kotlinx/uuid/SecureRandom.kt

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public actual val SecureRandom: Random = SecureRandomIos
1111
/**
1212
* https://developer.apple.com/documentation/security/1399291-secrandomcopybytes?language=objc
1313
*/
14+
@OptIn(ExperimentalForeignApi::class)
1415
private object SecureRandomIos : Random() {
1516
override fun nextBits(bitCount: Int): Int {
1617
require(bitCount > 0)

kotlinx-uuid-core/src/linuxDerivatMain/kotlin/kotlinx/uuid/SecureRandom.kt

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import kotlin.random.*
77

88
public actual val SecureRandom: Random = DevUrandom()
99

10+
@OptIn(ExperimentalForeignApi::class)
1011
private class DevUrandom : Random() {
1112
override fun nextBits(bitCount: Int): Int {
1213
require(bitCount > 0)

kotlinx-uuid-core/src/mingwX64Main/kotlin/kotlinx/uuid/SecureRandom.kt

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import kotlin.random.*
77

88
public actual val SecureRandom: Random = BCryptRandom()
99

10+
@OptIn(ExperimentalForeignApi::class)
1011
private class BCryptRandom : Random() {
1112
override fun nextBits(bitCount: Int): Int {
1213
require(bitCount > 0)
@@ -16,8 +17,8 @@ private class BCryptRandom : Random() {
1617
BCryptGenRandom(
1718
hAlgorithm = null,
1819
pbBuffer = it.addressOf(0).reinterpret(),
19-
cbBuffer = numberOfBytes.toUInt(),
20-
dwFlags = BCRYPT_USE_SYSTEM_PREFERRED_RNG
20+
cbBuffer = numberOfBytes.convert(),
21+
dwFlags = BCRYPT_USE_SYSTEM_PREFERRED_RNG.convert()
2122
)
2223
}
2324

settings.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ pluginManagement {
1212

1313
plugins {
1414
id("mySettings")
15+
id("org.gradle.toolchains.foojay-resolver-convention") version "0.6.0"
1516
id("com.gradle.enterprise") version "3.14.1"
1617
}
1718

0 commit comments

Comments
 (0)