[Gradle] Use defaultBuildOptions in testNativeTasks

^KT-43293
This commit is contained in:
Anton Lakotka
2022-07-22 21:48:27 +02:00
committed by Space
parent 528584deaa
commit 7fedf22946
@@ -81,8 +81,7 @@ class ConfigurationCacheIT : AbstractConfigurationCacheIT() {
@GradleTest @GradleTest
fun testNativeTasks(gradleVersion: GradleVersion) { fun testNativeTasks(gradleVersion: GradleVersion) {
project("native-configuration-cache", gradleVersion) { project("native-configuration-cache", gradleVersion) {
val buildOptions = buildOptions.copy( val buildOptions = defaultBuildOptions.copy(
configurationCache = true,
configurationCacheProblems = BaseGradleIT.ConfigurationCacheProblems.FAIL, configurationCacheProblems = BaseGradleIT.ConfigurationCacheProblems.FAIL,
warningMode = WarningMode.All warningMode = WarningMode.All
) )