From a49b81fe706bbce45e17fdd08986337a67048d19 Mon Sep 17 00:00:00 2001 From: Alexey Illarionov Date: Wed, 15 Jan 2025 18:06:36 +0300 Subject: [PATCH] Publish to sonatype, update Dokka configuration --- gradle.properties | 4 ++++ .../project/multiplatform/src/main/kotlin/publish.gradle.kts | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 6d01249..e965b31 100644 --- a/gradle.properties +++ b/gradle.properties @@ -26,5 +26,9 @@ kotlin.mpp.import.enableKgpDependencyResolution=true kotlinx.atomicfu.enableJvmIrTransformation=true kotlinx.atomicfu.enableJsIrTransformation=true +#Dokka +org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled + + # Gradle publish systemProp.org.gradle.internal.publish.checksums.insecure=true diff --git a/gradle/plugin/project/multiplatform/src/main/kotlin/publish.gradle.kts b/gradle/plugin/project/multiplatform/src/main/kotlin/publish.gradle.kts index 73c2098..deca08c 100644 --- a/gradle/plugin/project/multiplatform/src/main/kotlin/publish.gradle.kts +++ b/gradle/plugin/project/multiplatform/src/main/kotlin/publish.gradle.kts @@ -8,7 +8,6 @@ package ru.pixnews.igdbclient.gradle.multiplatform import com.vanniktech.maven.publish.JavadocJar import com.vanniktech.maven.publish.KotlinMultiplatform import com.vanniktech.maven.publish.SonatypeHost -import org.jetbrains.dokka.gradle.DokkaTask import ru.pixnews.igdbclient.gradle.multiplatform.publish.createIgdbclientVersionsExtension /* @@ -71,7 +70,7 @@ mavenPublishing { } } -tasks.named("dokkaHtml") { +dokka { dokkaSourceSets.configureEach { skipDeprecated.set(true) }