From f2aedc19b016dad2b1edd28f127cd5642964c79f Mon Sep 17 00:00:00 2001 From: Louis Jacomet Date: Wed, 5 Apr 2023 18:20:00 +0200 Subject: [PATCH] Move local maven repo to root project build dir This enables having all publications in the same repository, making testing things like the Gradle plugin much easier as a single location needs to be added to a build. Issue #414 --- .../kotlin/build-logic.publish-to-tmp-maven-repo.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-logic/publishing/src/main/kotlin/build-logic.publish-to-tmp-maven-repo.gradle.kts b/build-logic/publishing/src/main/kotlin/build-logic.publish-to-tmp-maven-repo.gradle.kts index 673770849..bf956eb3b 100644 --- a/build-logic/publishing/src/main/kotlin/build-logic.publish-to-tmp-maven-repo.gradle.kts +++ b/build-logic/publishing/src/main/kotlin/build-logic.publish-to-tmp-maven-repo.gradle.kts @@ -14,7 +14,7 @@ val localRepoElements by configurations.creating { } } -val localRepoDir = layout.buildDirectory.dir("local-maven-repo") +val localRepoDir = rootProject.layout.buildDirectory.dir("local-maven-repo") publishing { repositories {