This commit is contained in:
parent
ff38c2028e
commit
b111afe9a5
|
@ -40,7 +40,7 @@ object CachingHttpClient {
|
|||
|
||||
private fun getCacheFile(uri: URI): Path {
|
||||
val path = NonsenseGradlePlugin.nonsenseCacheDir.resolve("httpCache")
|
||||
.resolve(uri.toString().substring(uri.scheme.length + 2))
|
||||
.resolve(uri.toString().substring(uri.scheme.length + 3))
|
||||
path.createParentDirectories()
|
||||
return path
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue