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 {