diff --git a/emoji/src/commonMain/kotlin/com/vanniktech/emoji/EmojiInformation.kt b/emoji/src/commonMain/kotlin/com/vanniktech/emoji/EmojiInformation.kt index b8957630b8..7ebdc05bfd 100644 --- a/emoji/src/commonMain/kotlin/com/vanniktech/emoji/EmojiInformation.kt +++ b/emoji/src/commonMain/kotlin/com/vanniktech/emoji/EmojiInformation.kt @@ -18,7 +18,7 @@ package com.vanniktech.emoji import kotlin.jvm.JvmField -data class EmojiInformation internal constructor( +@ConsistentCopyVisibility data class EmojiInformation internal constructor( /** * The visual length with respect to the found [emojiRanges]. * One [Emoji] can be made up of a bunch of characters but still displayed as a single one. diff --git a/emoji/src/commonTest/kotlin/com/vanniktech/emoji/TestEmoji.kt b/emoji/src/commonTest/kotlin/com/vanniktech/emoji/TestEmoji.kt index 58cf43aa4d..3ba917215b 100644 --- a/emoji/src/commonTest/kotlin/com/vanniktech/emoji/TestEmoji.kt +++ b/emoji/src/commonTest/kotlin/com/vanniktech/emoji/TestEmoji.kt @@ -42,7 +42,7 @@ val emojiSuperhero = TestEmoji( ), ) -data class TestEmoji internal constructor( +@ConsistentCopyVisibility data class TestEmoji internal constructor( override val unicode: String, override val shortcodes: List, override val variants: List = emptyList(), diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 9fee4c3866..5cd9748656 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,8 +4,8 @@ compileSdk = "34" targetSdk = "34" androidgradleplugin = "8.5.2" -kotlin = "2.0.10" -ktlint = "1.2.1" +kotlin = "2.0.20" +ktlint = "1.3.1" [libraries] androidx-appcompat = { module = "androidx.appcompat:appcompat", version = "1.7.0" }