Skip to content

Commit 9d71136

Browse files
committed
Fix cache location
1 parent 09c2ae1 commit 9d71136

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ buildConfig {
1111
buildConfigField(
1212
type ="java.nio.file.Path",
1313
name = "CACHE_PATH",
14-
value = "Path.of(\"${project(":cache").projectDir.resolve("src/main/resources")}\")"
15-
.replace("\\", "/")
14+
value = "Path.of(\"${buildDir.path}\\cache\")".replace("\\", "\\\\")
1615
)
1716
}
1817

0 commit comments

Comments
 (0)