diff --git a/build.gradle.kts b/build.gradle.kts index 6790cc19..a51606b4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -158,7 +158,7 @@ with(publishing) { } maven { name = "myRepo" - url = uri("file://$buildDir/repo") + url = uri(layout.buildDirectory.dir("repo")) } } }