From ead2811b99ce41d5442100efced78e301089d0d0 Mon Sep 17 00:00:00 2001 From: Konstantin Chukharev Date: Thu, 31 Jul 2025 16:14:17 +0300 Subject: [PATCH 1/2] Remove artifacts from publication --- build.gradle.kts | 2 -- 1 file changed, 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 93cf513f7..483375850 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -204,8 +204,6 @@ configure( dependency.version.isNullOrBlank() } } - artifact(sourcesJar) - artifact(dokkaJavadocJar) addPom() signPublication(this@configure) } From 00ecf8f9d59dbf2f316fab7df7192615e64e63bb Mon Sep 17 00:00:00 2001 From: Konstantin Chukharev Date: Thu, 31 Jul 2025 16:14:42 +0300 Subject: [PATCH 2/2] Move "local build repository" to root project --- build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 483375850..3cddd42ea 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -220,10 +220,10 @@ configure( } // Use `./gradlew publishAllPublicationsToBuildRepository -Pversion=1.5` - // to publish to `./build/repository` directory. + // to publish to `/build/repository` directory in the root project. maven { name = "Build" - url = uri(layout.buildDirectory.dir("repository")) + url = uri(rootProject.layout.buildDirectory.dir("repository")) } } }