From cfe55f4ea730f43f76ba009f8219c797c983a164 Mon Sep 17 00:00:00 2001 From: Aleksander Nowakowski Date: Tue, 2 Jul 2024 15:33:23 +0200 Subject: [PATCH 1/2] Renaming artifact html-docs to javadoc --- plugins/src/main/kotlin/JvmNexusRepositoryPlugin.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/src/main/kotlin/JvmNexusRepositoryPlugin.kt b/plugins/src/main/kotlin/JvmNexusRepositoryPlugin.kt index 22e9bf2..e6987d7 100644 --- a/plugins/src/main/kotlin/JvmNexusRepositoryPlugin.kt +++ b/plugins/src/main/kotlin/JvmNexusRepositoryPlugin.kt @@ -89,7 +89,9 @@ class JvmNexusRepositoryPlugin : Plugin { val dokkaHtml = tasks.named("dokkaHtml", DokkaTask::class.java) dependsOn(dokkaHtml) from(dokkaHtml.flatMap { it.outputDirectory }) - archiveClassifier.set("html-docs") + // Maven Central requires JVM libraries to have [module]-[version]-javadoc.jar file. + // Let's put Dokka HTML docs into the javadoc file. + archiveClassifier.set("javadoc") } afterEvaluate { From 7969b612eddb7486be84e8a2365b5dba0bc6b6ba Mon Sep 17 00:00:00 2001 From: Aleksander Nowakowski Date: Tue, 2 Jul 2024 15:35:23 +0200 Subject: [PATCH 2/2] Nordic plugins updated to 2.4 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 3639e3e..e7fadaf 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -80,7 +80,7 @@ nordic-mcumgr = "1.9.2" nordic-scanner = "1.6.0" nordic-common = "2.0.0" nordic-memfault = "1.0.2" -nordicPlugins = "2.3" +nordicPlugins = "2.4" dokkaPlugin = "1.9.20" googleServicesPlugins = "4.4.0" firebaseCrashlyticsPlugins = "2.9.9"