[Gradle] Inverse K/JS build services declaration

It's done by hardcoding the task classes unlike to approach with other build services (with adding interfaces like Uses<blah-blah-service>), because the J/S services are subject to rework in a short time. This way earlier task initialization shouldn't cause problems.
#KT-56131 Fixed
This commit is contained in:
Alexander.Likhachev
2023-01-23 18:04:43 +01:00
committed by Space Team
parent 7638b95a31
commit 92d39f0b1d
6 changed files with 40 additions and 20 deletions
@@ -7,7 +7,6 @@ package org.jetbrains.kotlin.gradle.mpp
import org.gradle.util.GradleVersion
import org.jetbrains.kotlin.gradle.testbase.*
import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.DisplayName
@MppGradlePluginTests
@@ -52,7 +51,6 @@ class BrokenLazyConfigurationIT : KGPBaseTest() {
@GradleTest
@DisplayName("works in MPP") // aka KT-56131
@Disabled
fun testBrokenTcaInMpp(gradleVersion: GradleVersion) {
project("new-mpp-lib-with-tests", gradleVersion) {
buildGradle.modify {