Skip to content

Commit

Permalink
Update Kotlin core dependencies to v1.9.21 (#244)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrey Kuleshov <andrewkuleshov7@gmail.com>
  • Loading branch information
renovate[bot] and orchestr7 authored Nov 27, 2023
1 parent e4bb37a commit 42a8daa
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repositories {

dependencies {
// this hack prevents the following bug: https://github.com/gradle/gradle/issues/9770
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.10")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.21")

implementation("org.cqfn.diktat:diktat-gradle-plugin:1.2.5")
implementation("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.22.0")
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/com/akuleshov7/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"PACKAGE_NAME_INCORRECT_PATH")

object Versions {
const val KOTLIN = "1.9.10"
const val KOTLIN = "1.9.21"
const val JUNIT = "5.7.1"
const val OKIO = "3.1.0"
const val SERIALIZATION = "1.5.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@

package com.akuleshov7.ktoml.utils

import kotlin.experimental.ExperimentalNativeApi

@Suppress("MAGIC_NUMBER")
@OptIn(ExperimentalNativeApi::class)
internal actual fun StringBuilder.appendCodePointCompat(codePoint: Int): StringBuilder = when (codePoint) {
in 0 until Char.MIN_SUPPLEMENTARY_CODE_POINT -> append(codePoint.toChar())
in Char.MIN_SUPPLEMENTARY_CODE_POINT..Char.MAX_CODE_POINT -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@

package com.akuleshov7.ktoml.utils

import kotlin.experimental.ExperimentalNativeApi

@Suppress("MAGIC_NUMBER")
@OptIn(ExperimentalNativeApi::class)
internal actual fun StringBuilder.appendCodePointCompat(codePoint: Int): StringBuilder = when (codePoint) {
in 0 until Char.MIN_SUPPLEMENTARY_CODE_POINT -> append(codePoint.toChar())
in Char.MIN_SUPPLEMENTARY_CODE_POINT..Char.MAX_CODE_POINT -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@

package com.akuleshov7.ktoml.utils

import kotlin.experimental.ExperimentalNativeApi

@Suppress("MAGIC_NUMBER")
@OptIn(ExperimentalNativeApi::class)
internal actual fun StringBuilder.appendCodePointCompat(codePoint: Int): StringBuilder = when (codePoint) {
in 0 until Char.MIN_SUPPLEMENTARY_CODE_POINT -> append(codePoint.toChar())
in Char.MIN_SUPPLEMENTARY_CODE_POINT..Char.MAX_CODE_POINT -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@

package com.akuleshov7.ktoml.utils

import kotlin.experimental.ExperimentalNativeApi

@Suppress("MAGIC_NUMBER")
@OptIn(ExperimentalNativeApi::class)
internal actual fun StringBuilder.appendCodePointCompat(codePoint: Int): StringBuilder = when (codePoint) {
in 0 until Char.MIN_SUPPLEMENTARY_CODE_POINT -> append(codePoint.toChar())
in Char.MIN_SUPPLEMENTARY_CODE_POINT..Char.MAX_CODE_POINT -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@

package com.akuleshov7.ktoml.utils

import kotlin.experimental.ExperimentalNativeApi

@Suppress("MAGIC_NUMBER")
@OptIn(ExperimentalNativeApi::class)
internal actual fun StringBuilder.appendCodePointCompat(codePoint: Int): StringBuilder = when (codePoint) {
in 0 until Char.MIN_SUPPLEMENTARY_CODE_POINT -> append(codePoint.toChar())
in Char.MIN_SUPPLEMENTARY_CODE_POINT..Char.MAX_CODE_POINT -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@

package com.akuleshov7.ktoml.utils

import kotlin.experimental.ExperimentalNativeApi

@Suppress("MAGIC_NUMBER")
@OptIn(ExperimentalNativeApi::class)
internal actual fun StringBuilder.appendCodePointCompat(codePoint: Int): StringBuilder = when (codePoint) {
in 0 until Char.MIN_SUPPLEMENTARY_CODE_POINT -> append(codePoint.toChar())
in Char.MIN_SUPPLEMENTARY_CODE_POINT..Char.MAX_CODE_POINT -> {
Expand Down

0 comments on commit 42a8daa

Please sign in to comment.