Replace kotlin-test project dependencies in dist

KT-61969
This commit is contained in:
Ilya Gorbunov
2023-11-12 05:34:21 +01:00
committed by Space Team
parent c40de28775
commit 653fc03cbc
4 changed files with 20 additions and 15 deletions
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-compiler</artifactId>
@@ -59,7 +58,7 @@
</dependency>
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-core</artifactId>
<artifactId>kotlinx-coroutines-core-jvm</artifactId>
<version>1.5.0</version>
<scope>compile</scope>
</dependency>
@@ -74,7 +74,7 @@ fun Project.kotlinStdlib(suffix: String? = null, classifier: String? = null): An
*/
@JvmOverloads
fun Project.kotlinTest(suffix: String? = null, classifier: String? = null): Any {
return if (kotlinBuildProperties.isJpsBuildEnabled) {
return if (kotlinBuildProperties.isInJpsBuildIdeaSync) {
kotlinDep(listOfNotNull("test", suffix?.lowercase()).joinToString("-"), bootstrapKotlinVersion, classifier)
} else {
val elementsType = when (classifier) {