Skip to content

Commit 6a0b3f8

Browse files
woainikklunakoly
andauthored
Suppress the deprecation warning on a reference to Kotlin 2.0 language version (#3046)
^KT-76136 Co-authored-by: Nikolay Lunyak <[email protected]>
1 parent 10c7b9d commit 6a0b3f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

buildSrc/src/main/kotlin/Java9Modularity.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ object Java9Modularity {
175175

176176
val taskKotlinLanguageVersion = compilerOptions.languageVersion.orElse(KotlinVersion.DEFAULT)
177177
@OptIn(InternalKotlinGradlePluginApi::class)
178+
@Suppress("DEPRECATION")
178179
if (taskKotlinLanguageVersion.get() < KotlinVersion.KOTLIN_2_0) {
179180
// part of work-around for https://youtrack.jetbrains.com/issue/KT-60541
180181
@Suppress("INVISIBLE_MEMBER")

0 commit comments

Comments
 (0)