Skip to content

Commit

Permalink
fix win build
Browse files Browse the repository at this point in the history
  • Loading branch information
xvik committed Aug 27, 2018
1 parent f170759 commit 7b9f2e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -27,7 +27,7 @@ class BuildCacheRelocationKitTest extends AbstractKitTest {
file("settings.gradle") << """
buildCache {
local(DirectoryBuildCache) {
directory = new File('${cacheDir.root.getAbsolutePath()}')
directory = new File('${cacheDir.root.canonicalPath.replace('\\', '\\\\')}')
}
}
"""
Expand Down Expand Up @@ -94,7 +94,7 @@ class BuildCacheRelocationKitTest extends AbstractKitTest {
file("settings.gradle") << """
buildCache {
local(DirectoryBuildCache) {
directory = new File('${cacheDir.root.getAbsolutePath()}')
directory = new File('${cacheDir.root.canonicalPath.replace('\\', '\\\\')}')
}
}
"""
Expand Down
Expand Up @@ -21,7 +21,7 @@ class BuildCacheSupportKitTest extends AbstractKitTest {
file("settings.gradle") << """
buildCache {
local(DirectoryBuildCache) {
directory = new File('${cacheDir.root.getAbsolutePath()}')
directory = new File('${cacheDir.root.canonicalPath.replace('\\', '\\\\')}')
}
}
"""
Expand Down Expand Up @@ -88,7 +88,7 @@ class BuildCacheSupportKitTest extends AbstractKitTest {
file("settings.gradle") << """
buildCache {
local(DirectoryBuildCache) {
directory = new File('${cacheDir.root.getAbsolutePath()}')
directory = new File('${cacheDir.root.canonicalPath.replace('\\', '\\\\')}')
}
}
"""
Expand Down

0 comments on commit 7b9f2e0

Please sign in to comment.