[Gradle] Do not apply default hierarchy template for: test KT-47641...

See: KT-59596:
The test did not apply any hierarchy before as well, therefore this
change is returning the setup back to its original behaviour.

However, we therefore discovered an issue (tracked as KT-59596):
Compiling metadata compilations for cinterops is not desirable

^KT-58676 Verification Pending
This commit is contained in:
Sebastian Sellmair
2023-06-23 14:22:02 +02:00
committed by Space Team
parent 6f42446138
commit 6d1e039b77
@@ -381,7 +381,11 @@ open class CommonizerIT : KGPBaseTest() {
gradleVersion,
buildOptions = defaultBuildOptions.copy(logLevel = LogLevel.DEBUG)
) {
build("commonizeCInterop") {
build(
"commonizeCInterop",
/* See: https://youtrack.jetbrains.com/issue/KT-59596/CInterop-commonization-depends-on-compile-tasks */
"-Pkotlin.mpp.applyDefaultHierarchyTemplate=false"
) {
assertTasksExecuted(":p1:commonizeCInterop")
assertTasksExecuted(":p2:commonizeCInterop")