Skip to content

Commit d46315d

Browse files
committed
Workaround for locked cache directory on Windows
Picked the workaround from kotlinx-datetime
1 parent 79da12b commit d46315d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

build-logic/src/main/kotlin/kotlinx/io/conventions/kotlinx-io-clean.gradle.kts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1+
/*
2+
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
3+
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file.
4+
*/
5+
16
import org.gradle.api.tasks.Delete
27
import org.gradle.kotlin.dsl.invoke
38
import org.gradle.kotlin.dsl.named
49
import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform
510

6-
/*
7-
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
8-
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file.
9-
*/
1011
if (DefaultNativePlatform.getCurrentOperatingSystem().isWindows) {
1112
tasks {
1213
// Workaround for https://youtrack.jetbrains.com/issue/KT-58303:

0 commit comments

Comments
 (0)