From 957040374dbe92feed8ca12ba7dc0c6d220d08a1 Mon Sep 17 00:00:00 2001 From: Thijs Koppen Date: Fri, 8 Nov 2024 15:19:37 +0100 Subject: [PATCH] Also apply Dokka when running examples --- examples/gradle.properties | 15 ++++++++++++--- examples/settings.gradle.kts | 2 ++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/examples/gradle.properties b/examples/gradle.properties index 112e5b3..8741b77 100644 --- a/examples/gradle.properties +++ b/examples/gradle.properties @@ -14,23 +14,32 @@ # limitations under the License. # +#region Dependencies #https://github.com/quarkusio/quarkus # Can be upgraded freely and probably should be -quarkusVersion=3.15.1 +quarkusVersion=3.16.2 #https://github.com/JetBrains/kotlin # Needs to match Quarkus Kotlin version for compatibility -kotlinVersion=2.0.10 +kotlinVersion=2.0.21 #https://github.com/google/ksp # Latest version matching the above Kotlin version -kspVersion=2.0.10-1.0.24 +kspVersion=2.0.21-1.0.27 +#endregion + +#region Plugins +#https://github.com/Kotlin/dokka +dokkaVersion=1.9.20 #https://github.com/Kotlin/kotlinx-kover koverVersion=0.8.3 + #https://plugins.gradle.org/plugin/org.sonarqube sonarqubeVersion=5.1.0.4882 + #https://github.com/vanniktech/gradle-maven-publish-plugin mavenPublishVersion=0.30.0 +#endregion kotlin.code.style=official diff --git a/examples/settings.gradle.kts b/examples/settings.gradle.kts index 474b2c7..79460ff 100644 --- a/examples/settings.gradle.kts +++ b/examples/settings.gradle.kts @@ -24,6 +24,7 @@ pluginManagement { val quarkusVersion: String by settings val kotlinVersion: String by settings val kspVersion: String by settings + val dokkaVersion: String by settings val koverVersion: String by settings val sonarqubeVersion: String by settings val mavenPublishVersion: String by settings @@ -33,6 +34,7 @@ pluginManagement { kotlin("plugin.allopen") version kotlinVersion kotlin("plugin.jpa") version kotlinVersion id("com.google.devtools.ksp") version kspVersion + id("org.jetbrains.dokka") version dokkaVersion id("org.jetbrains.kotlinx.kover") version koverVersion id("org.sonarqube") version sonarqubeVersion id("com.vanniktech.maven.publish") version mavenPublishVersion