[Gradle] Fix spelling errors in tryK2 report
^KT-58869 Fixed
This commit is contained in:
committed by
Space Team
parent
a9352abb93
commit
4b643480d6
+3
-3
@@ -30,7 +30,7 @@ class TryK2IT : KGPBaseTest() {
|
|||||||
|
|
||||||
build("--dry-run") {
|
build("--dry-run") {
|
||||||
assertOutputContainsExactTimes(EXPERIMENTAL_TRY_K2_WARNING_MESSAGE, 1)
|
assertOutputContainsExactTimes(EXPERIMENTAL_TRY_K2_WARNING_MESSAGE, 1)
|
||||||
assertOutputContains("No Kotlin compilation tasks have run")
|
assertOutputContains("No Kotlin compilation tasks have been run")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -88,7 +88,7 @@ class TryK2IT : KGPBaseTest() {
|
|||||||
|##### 'kotlin.experimental.tryK2' results (Kotlin/Native not checked) #####
|
|##### 'kotlin.experimental.tryK2' results (Kotlin/Native not checked) #####
|
||||||
|:lib:compileKotlin: 2.0 language version
|
|:lib:compileKotlin: 2.0 language version
|
||||||
|:app:compileKotlin: 2.0 language version
|
|:app:compileKotlin: 2.0 language version
|
||||||
|##### 100% (2/2) tasks have compiled with Kotlin 2 #####
|
|##### 100% (2/2) tasks have been compiled with Kotlin 2.0 #####
|
||||||
""".trimMargin().normalizeLineEndings()
|
""".trimMargin().normalizeLineEndings()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -119,7 +119,7 @@ class TryK2IT : KGPBaseTest() {
|
|||||||
|##### 'kotlin.experimental.tryK2' results (Kotlin/Native not checked) #####
|
|##### 'kotlin.experimental.tryK2' results (Kotlin/Native not checked) #####
|
||||||
|:lib:compileKotlin: 2.0 language version
|
|:lib:compileKotlin: 2.0 language version
|
||||||
|:app:compileKotlin: 2.0 language version
|
|:app:compileKotlin: 2.0 language version
|
||||||
|##### 100% (2/2) tasks have compiled with Kotlin 2 #####
|
|##### 100% (2/2) tasks have been compiled with Kotlin 2.0 #####
|
||||||
""".trimMargin().normalizeLineEndings()
|
""".trimMargin().normalizeLineEndings()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-2
@@ -243,7 +243,7 @@ class BuildReportsService {
|
|||||||
}
|
}
|
||||||
log.warn("##### 'kotlin.experimental.tryK2' results (Kotlin/Native not checked) #####")
|
log.warn("##### 'kotlin.experimental.tryK2' results (Kotlin/Native not checked) #####")
|
||||||
if (tasksData.isEmpty()) {
|
if (tasksData.isEmpty()) {
|
||||||
log.warn("No Kotlin compilation tasks have run")
|
log.warn("No Kotlin compilation tasks have been run")
|
||||||
log.warn("#####")
|
log.warn("#####")
|
||||||
} else {
|
} else {
|
||||||
val tasksCountWithKotlin2 = tasksData.count {
|
val tasksCountWithKotlin2 = tasksData.count {
|
||||||
@@ -254,7 +254,9 @@ class BuildReportsService {
|
|||||||
statsData.forEach { record ->
|
statsData.forEach { record ->
|
||||||
log.warn("${record.first}: ${record.second} language version")
|
log.warn("${record.first}: ${record.second} language version")
|
||||||
}
|
}
|
||||||
log.warn("##### $taskWithK2Percent% ($tasksCountWithKotlin2/${tasksData.count()}) tasks have compiled with Kotlin 2 #####")
|
log.warn(
|
||||||
|
"##### $taskWithK2Percent% ($tasksCountWithKotlin2/${tasksData.count()}) tasks have been compiled with Kotlin 2.0 #####"
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user