From 0884782c609e904c14870f8a4be9a6e0bdeaf3f0 Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Fri, 24 Dec 2021 19:26:27 +0300 Subject: [PATCH] Use relative paths in own kotlin klib artifacts Old behaviour can be returned by kotlin.build.use.absolute.paths.in.klib in local.properties ^KTI-730 In Progress --- build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle.kts b/build.gradle.kts index db224970c76..2b125978f5a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -460,6 +460,7 @@ allprojects { val commonCompilerArgs = listOfNotNull( "-opt-in=kotlin.RequiresOptIn", + "-Xklib-relative-path-base=$rootDir".takeIf { !kotlinBuildProperties.getBoolean("kotlin.build.use.absolute.paths.in.klib") }, "-progressive".takeIf { hasProperty("test.progressive.mode") } )