ForgeRunConfigTest: Don't use config cache

The custom adhoc tasks don't support it and it's not worth it
to rewrite them.
This commit is contained in:
Juuz
2024-12-07 00:07:59 +02:00
parent 1b3dc0f498
commit ef2f09a4c0

View File

@@ -59,7 +59,7 @@ class ForgeRunConfigTest extends Specification implements GradleProjectTestTrait
""".stripIndent()
when:
def result = gradle.run(task: "verifyRunConfigs")
def result = gradle.run(task: "verifyRunConfigs", configurationCache: false)
then:
result.task(":verifyRunConfigs").outcome == SUCCESS
@@ -121,7 +121,7 @@ class ForgeRunConfigTest extends Specification implements GradleProjectTestTrait
'''.stripIndent()
when:
def result = gradle.run(task: "verifyRunConfigs")
def result = gradle.run(task: "verifyRunConfigs", configurationCache: false)
then:
result.task(":verifyRunConfigs").outcome == SUCCESS