Skip to content

Commit

Permalink
Update Kotlin to 2.0.0-RC3 (#3605)
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed May 13, 2024
1 parent c57a33c commit a4b4ba8
Show file tree
Hide file tree
Showing 17 changed files with 20 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
#

dokka_it_kotlin_version=2.0.0-RC1
dokka_it_kotlin_version=2.0.0-RC3
dokka_it_android_gradle_plugin_version=4.2.2
android.useAndroidX=true
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
#

dokka_it_kotlin_version=2.0.0-RC1
dokka_it_kotlin_version=2.0.0-RC3
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
#

dokka_it_kotlin_version=2.0.0-RC1
dokka_it_kotlin_version=2.0.0-RC3
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
#

dokka_it_kotlin_version=2.0.0-RC1
dokka_it_kotlin_version=2.0.0-RC3
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
#

dokka_it_kotlin_version=2.0.0-RC1
dokka_it_kotlin_version=2.0.0-RC3
fail_on_warning=false
report_undocumented=false
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
#

dokka_it_kotlin_version=2.0.0-RC1
dokka_it_kotlin_version=2.0.0-RC3
react_version=18.2.0-pre.467
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
#

dokka_it_kotlin_version=2.0.0-RC1
dokka_it_kotlin_version=2.0.0-RC3
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
#

dokka_it_kotlin_version=2.0.0-RC1
dokka_it_kotlin_version=2.0.0-RC3
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
#

dokka_it_kotlin_version=1.9.20
dokka_it_kotlin_version=2.0.0-RC3
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
#

dokka_it_kotlin_version=2.0.0-RC1
dokka_it_kotlin_version=2.0.0-RC3

Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
#

dokka_it_kotlin_version=2.0.0-RC1
dokka_it_kotlin_version=2.0.0-RC3
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
#

dokka_it_kotlin_version=2.0.0-RC1
dokka_it_kotlin_version=2.0.0-RC3
task_number=100
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
#

dokka_it_kotlin_version=2.0.0-RC1
dokka_it_kotlin_version=2.0.0-RC3
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ open class AllSupportedTestedVersionsArgumentsProvider : TestedVersionsArguments

object TestedVersions {

val LATEST = BuildVersions("8.7", "2.0.0-RC1")
val LATEST = BuildVersions("8.7", "2.0.0-RC3")

/**
* All supported Gradle/Kotlin versions, including [LATEST]
Expand All @@ -41,7 +41,7 @@ object TestedVersions {
val ANDROID =
BuildVersions.permutations(
gradleVersions = listOf("8.4"),
kotlinVersions = listOf("2.0.0-RC1"),
kotlinVersions = listOf("2.0.0-RC3"),
androidGradlePluginVersions = listOf("8.3.0")
) + BuildVersions.permutations(
gradleVersions = listOf("7.4.2", *ifExhaustive("7.0")),
Expand All @@ -66,7 +66,7 @@ object TestedVersions {
"1.9.0" to "18.2.0-pre.597",
"1.9.10" to "18.2.0-pre.597",
"1.9.23" to "18.2.0-pre.682",
"2.0.0-RC1" to "18.2.0-pre.726",
"2.0.0-RC3" to "18.2.0-pre.726",
)
}

Expand Down
2 changes: 1 addition & 1 deletion dokka-integration-tests/maven/projects/it-maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<version>1.0-SNAPSHOT</version>

<properties>
<kotlin.version>2.0.0-RC1</kotlin.version>
<kotlin.version>2.0.0-RC3</kotlin.version>
</properties>
<build>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@ package org.jetbrains.dokka.gradle.kotlin

import org.gradle.api.Project
import org.jetbrains.dokka.gradle.kotlin
import org.jetbrains.kotlin.gradle.dsl.KotlinCommonOptions
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
import org.jetbrains.kotlin.gradle.dsl.KotlinSingleTargetExtension
import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinCommonCompilation

internal typealias KotlinCompilation =
org.jetbrains.kotlin.gradle.plugin.KotlinCompilation<KotlinCommonOptions>
internal typealias KotlinCompilation = org.jetbrains.kotlin.gradle.plugin.KotlinCompilation<*>

internal fun Project.compilationsOf(sourceSet: KotlinSourceSet): List<KotlinCompilation> {
//KT-45412 Make sure .kotlinSourceSets and .allKotlinSourceSets include the default source set
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]

gradlePlugin-kotlin = "2.0.0-RC1"
gradlePlugin-kotlin = "2.0.0-RC3"
# See: https://kotlinlang.org/docs/gradle-configure-project.html#apply-the-plugin
gradlePlugin-android = "7.1.3"
gradlePlugin-dokka = "1.9.20"
Expand All @@ -11,7 +11,7 @@ kotlinx-serialization = "1.6.0"
kotlinx-bcv = "0.13.2"

## Analysis
kotlin-compiler = "2.0.0-RC1"
kotlin-compiler = "2.0.0-RC3"
kotlin-compiler-k2 = "2.0.20-dev-7"

# MUST match the version of the intellij platform used in the kotlin compiler,
Expand Down

0 comments on commit a4b4ba8

Please sign in to comment.