From a6e5b03817aec8971fd13c1c1723b65c05d5bdf1 Mon Sep 17 00:00:00 2001 From: Oleg Yukhnevich Date: Mon, 9 Dec 2024 15:08:31 +0200 Subject: [PATCH] Update DGPv2 examples to use Kotlin 2.1.0 (#3949) --- examples/gradle-v2/basic-gradle-example/build.gradle.kts | 2 +- .../composite-build-example/build-logic/build.gradle.kts | 2 +- examples/gradle-v2/custom-styling-example/build.gradle.kts | 2 +- examples/gradle-v2/java-example/buildSrc/build.gradle.kts | 2 +- examples/gradle-v2/javadoc-example/build.gradle.kts | 2 +- examples/gradle-v2/kotlin-as-java-example/build.gradle.kts | 2 +- examples/gradle-v2/library-publishing-example/build.gradle.kts | 2 +- .../gradle-v2/multimodule-example/buildSrc/build.gradle.kts | 2 +- .../versioning-multimodule-example/buildSrc/build.gradle.kts | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/gradle-v2/basic-gradle-example/build.gradle.kts b/examples/gradle-v2/basic-gradle-example/build.gradle.kts index e475b069e0..8d5f013773 100644 --- a/examples/gradle-v2/basic-gradle-example/build.gradle.kts +++ b/examples/gradle-v2/basic-gradle-example/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - kotlin("jvm") version "1.9.23" + kotlin("jvm") version "2.1.0" id("org.jetbrains.dokka") version "2.0.20-SNAPSHOT" } diff --git a/examples/gradle-v2/composite-build-example/build-logic/build.gradle.kts b/examples/gradle-v2/composite-build-example/build-logic/build.gradle.kts index ce6c1b64c2..6512d1a314 100644 --- a/examples/gradle-v2/composite-build-example/build-logic/build.gradle.kts +++ b/examples/gradle-v2/composite-build-example/build-logic/build.gradle.kts @@ -3,7 +3,7 @@ plugins { } dependencies { - implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:$embeddedKotlinVersion") + implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0") val dokkaVersion = providers.gradleProperty("dokkaVersion").getOrElse("2.0.20-SNAPSHOT") implementation("org.jetbrains.dokka:dokka-gradle-plugin:$dokkaVersion") } diff --git a/examples/gradle-v2/custom-styling-example/build.gradle.kts b/examples/gradle-v2/custom-styling-example/build.gradle.kts index 4191f76dea..6153851115 100644 --- a/examples/gradle-v2/custom-styling-example/build.gradle.kts +++ b/examples/gradle-v2/custom-styling-example/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - kotlin("jvm") version "1.9.25" + kotlin("jvm") version "2.1.0" id("org.jetbrains.dokka") version "2.0.20-SNAPSHOT" } diff --git a/examples/gradle-v2/java-example/buildSrc/build.gradle.kts b/examples/gradle-v2/java-example/buildSrc/build.gradle.kts index c547dc3bc5..6512d1a314 100644 --- a/examples/gradle-v2/java-example/buildSrc/build.gradle.kts +++ b/examples/gradle-v2/java-example/buildSrc/build.gradle.kts @@ -3,7 +3,7 @@ plugins { } dependencies { - implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.25") + implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0") val dokkaVersion = providers.gradleProperty("dokkaVersion").getOrElse("2.0.20-SNAPSHOT") implementation("org.jetbrains.dokka:dokka-gradle-plugin:$dokkaVersion") } diff --git a/examples/gradle-v2/javadoc-example/build.gradle.kts b/examples/gradle-v2/javadoc-example/build.gradle.kts index a91821dc48..960e411aa1 100644 --- a/examples/gradle-v2/javadoc-example/build.gradle.kts +++ b/examples/gradle-v2/javadoc-example/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - kotlin("jvm") version "1.9.23" + kotlin("jvm") version "2.1.0" id("org.jetbrains.dokka-javadoc") version "2.0.20-SNAPSHOT" } diff --git a/examples/gradle-v2/kotlin-as-java-example/build.gradle.kts b/examples/gradle-v2/kotlin-as-java-example/build.gradle.kts index 5f29fef9c2..e251904c09 100644 --- a/examples/gradle-v2/kotlin-as-java-example/build.gradle.kts +++ b/examples/gradle-v2/kotlin-as-java-example/build.gradle.kts @@ -3,7 +3,7 @@ */ plugins { - kotlin("jvm") version "1.9.25" + kotlin("jvm") version "2.1.0" id("org.jetbrains.dokka") version "2.0.20-SNAPSHOT" } diff --git a/examples/gradle-v2/library-publishing-example/build.gradle.kts b/examples/gradle-v2/library-publishing-example/build.gradle.kts index 70e029f3bb..8fa80c1c04 100644 --- a/examples/gradle-v2/library-publishing-example/build.gradle.kts +++ b/examples/gradle-v2/library-publishing-example/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - kotlin("jvm") version "1.9.25" + kotlin("jvm") version "2.1.0" id("org.jetbrains.dokka") version "2.0.20-SNAPSHOT" id("org.jetbrains.dokka-javadoc") version "2.0.20-SNAPSHOT" `maven-publish` diff --git a/examples/gradle-v2/multimodule-example/buildSrc/build.gradle.kts b/examples/gradle-v2/multimodule-example/buildSrc/build.gradle.kts index c547dc3bc5..6512d1a314 100644 --- a/examples/gradle-v2/multimodule-example/buildSrc/build.gradle.kts +++ b/examples/gradle-v2/multimodule-example/buildSrc/build.gradle.kts @@ -3,7 +3,7 @@ plugins { } dependencies { - implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.25") + implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0") val dokkaVersion = providers.gradleProperty("dokkaVersion").getOrElse("2.0.20-SNAPSHOT") implementation("org.jetbrains.dokka:dokka-gradle-plugin:$dokkaVersion") } diff --git a/examples/gradle-v2/versioning-multimodule-example/buildSrc/build.gradle.kts b/examples/gradle-v2/versioning-multimodule-example/buildSrc/build.gradle.kts index c547dc3bc5..6512d1a314 100644 --- a/examples/gradle-v2/versioning-multimodule-example/buildSrc/build.gradle.kts +++ b/examples/gradle-v2/versioning-multimodule-example/buildSrc/build.gradle.kts @@ -3,7 +3,7 @@ plugins { } dependencies { - implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.25") + implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0") val dokkaVersion = providers.gradleProperty("dokkaVersion").getOrElse("2.0.20-SNAPSHOT") implementation("org.jetbrains.dokka:dokka-gradle-plugin:$dokkaVersion") }