From 487439054e554e750fd6280f439e9834dd72c8a6 Mon Sep 17 00:00:00 2001 From: Alexander Likhachev Date: Tue, 3 Jan 2023 19:11:30 +0100 Subject: [PATCH] [Gradle] Remove default build options duplicates in ConfigurationCacheIT --- .../org/jetbrains/kotlin/gradle/ConfigurationCacheIT.kt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/ConfigurationCacheIT.kt b/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/ConfigurationCacheIT.kt index e8f4be3bb27..9f2d37df53f 100644 --- a/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/ConfigurationCacheIT.kt +++ b/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/ConfigurationCacheIT.kt @@ -6,7 +6,6 @@ package org.jetbrains.kotlin.gradle import org.gradle.api.logging.LogLevel -import org.gradle.api.logging.configuration.WarningMode import org.gradle.util.GradleVersion import org.jetbrains.kotlin.gradle.report.BuildReportType import org.jetbrains.kotlin.gradle.testbase.* @@ -110,8 +109,6 @@ class ConfigurationCacheIT : AbstractConfigurationCacheIT() { "build", executedTaskNames = expectedTasks, buildOptions = defaultBuildOptions.copy( - configurationCacheProblems = BaseGradleIT.ConfigurationCacheProblems.FAIL, - warningMode = WarningMode.All, freeArgs = listOf( // remove after KT-49933 is fixed "-x", ":lib:transformCommonMainDependenciesMetadata", @@ -128,14 +125,9 @@ class ConfigurationCacheIT : AbstractConfigurationCacheIT() { @GradleTest fun testCommonizer(gradleVersion: GradleVersion) { project("native-configuration-cache", gradleVersion) { - val buildOptions = defaultBuildOptions.copy( - configurationCacheProblems = BaseGradleIT.ConfigurationCacheProblems.FAIL, - warningMode = WarningMode.All - ) build( ":lib:commonizeCInterop", ":commonizeNativeDistribution", - buildOptions = buildOptions ) { // Reduce the problem numbers when a Task become compatible with GCC. // When all tasks support GCC, replace these assertions with `testConfigurationCacheOf`