Fixed the broken build

This commit is contained in:
Marcin Grzejszczak
2019-02-16 12:47:54 +01:00
parent b167e364c5
commit a34a24765f

View File

@@ -54,7 +54,7 @@ class GenerateServerTestsTask extends ConventionTask {
project.logger.info("Contracts are unpacked to [${contractsDslDir}]")
project.logger.info("Included contracts are [${props.includedContracts}]")
def sourceSetType = getConfigProperties().getTestFramework() == TestFramework.SPOCK ?
def sourceSetType = getConfigProperties().getTargetFramework() == TestFramework.SPOCK ?
"groovy" : "java"
project.sourceSets.test."${sourceSetType}" {