File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
core/commonTest/src/stress Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ evaluationDependsOn(":kotlinx-collections-immutable")
12
12
val JDK_6 : String by project
13
13
14
14
repositories {
15
+ maven(url = " https://dl.bintray.com/kotlin/kotlin-dev" )
15
16
maven(url = " https://dl.bintray.com/kotlin/kotlinx" )
16
17
}
17
18
Original file line number Diff line number Diff line change 1
1
buildscript {
2
2
repositories {
3
3
mavenCentral()
4
+ maven(url = " https://dl.bintray.com/kotlin/kotlin-dev" )
4
5
maven(url = " https://dl.bintray.com/kotlin/kotlin-eap" )
5
6
}
6
7
dependencies {
7
- classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.71 " )
8
+ classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.0 " )
8
9
}
9
10
}
10
11
@@ -43,6 +44,7 @@ val JDK_6 by ext(System.getenv("JDK_6") ?: findProperty("JDK_6") as String? ?: e
43
44
allprojects {
44
45
repositories {
45
46
mavenCentral()
47
+ maven(url = " https://dl.bintray.com/kotlin/kotlin-dev" )
46
48
maven(url = " https://dl.bintray.com/kotlin/kotlin-eap" )
47
49
}
48
50
}
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ import kotlin.time.*
11
11
12
12
@UseExperimental(ExperimentalTime ::class )
13
13
abstract class ExecutionTimeMeasuringTest {
14
- private var clockMark: ClockMark ? = null
14
+ private var clockMark: TimeMark ? = null
15
15
16
16
private fun markExecutionStart () {
17
- clockMark = MonoClock .markNow()
17
+ clockMark = TimeSource . Monotonic .markNow()
18
18
}
19
19
20
20
private fun printExecutionTime () {
You can’t perform that action at this time.
0 commit comments