File tree Expand file tree Collapse file tree 5 files changed +12
-5
lines changed Expand file tree Collapse file tree 5 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import com.vanniktech.maven.publish.JavadocJar.Dokka
3
3
import com.vanniktech.maven.publish.KotlinMultiplatform
4
4
import com.vanniktech.maven.publish.MavenPublishBaseExtension
5
5
import kotlinx.validation.ApiValidationExtension
6
+ import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
6
7
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTargetWithTests
7
8
import org.jetbrains.kotlin.gradle.plugin.mpp.NativeBuildType
8
9
import org.jetbrains.kotlin.gradle.plugin.mpp.TestExecutable
@@ -54,6 +55,15 @@ plugins {
54
55
kotlin {
55
56
configureOrCreateOkioPlatforms()
56
57
58
+ targets.all {
59
+ compilations.all {
60
+ compilerOptions.configure {
61
+ apiVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion .KOTLIN_2_0 )
62
+ languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion .KOTLIN_2_0 )
63
+ }
64
+ }
65
+ }
66
+
57
67
sourceSets {
58
68
all {
59
69
languageSettings.apply {
Original file line number Diff line number Diff line change 15
15
*/
16
16
package okio
17
17
18
- import kotlin.time.Clock
19
-
20
18
class NativeSystemFileSystemTest : AbstractFileSystemTest (
21
19
clock = Clock .System ,
22
20
fileSystem = FileSystem .SYSTEM ,
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import kotlin.test.Test
19
19
import kotlin.test.assertEquals
20
20
import kotlin.test.assertFailsWith
21
21
import kotlin.test.assertTrue
22
- import kotlin.time.Clock
23
22
import okio.Path.Companion.toPath
24
23
import okio.fakefilesystem.FakeFileSystem
25
24
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ package okio
17
17
18
18
import kotlin.test.Test
19
19
import kotlin.test.assertEquals
20
- import kotlin.time .Instant
20
+ import kotlinx.datetime .Instant
21
21
import okio.Path.Companion.toPath
22
22
23
23
/* *
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import assertk.assertions.isNull
28
28
import assertk.assertions.isTrue
29
29
import kotlin.test.Test
30
30
import kotlin.test.assertFailsWith
31
- import kotlin.time .Instant
31
+ import kotlinx.datetime .Instant
32
32
import okio.ByteString.Companion.encodeUtf8
33
33
import okio.Path.Companion.toPath
34
34
You can’t perform that action at this time.
0 commit comments