114 improve tags support in buildgradle (#115)

* Issue #114: Add better Windows support for tags

* Issue #114: removing additional -Dtags arg
This commit is contained in:
Joshua Darnell 2022-06-24 06:32:52 -07:00 committed by GitHub
parent 0c2c11e5e1
commit b5b274f48e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -163,11 +163,13 @@ task testDataDictionary_1_7() {
'html:' + certReportsDir + '/' + reportName + '.html', 'html:' + certReportsDir + '/' + reportName + '.html',
'--glue', '--glue',
'org.reso.certification.stepdefs#DataDictionary', 'org.reso.certification.stepdefs#DataDictionary',
'src/main/java/org/reso/certification/features/data-dictionary/v1-7-0', 'src/main/java/org/reso/certification/features/data-dictionary/v1-7-0'
'--tags',
(systemProperties.get('cucumber.filter.tags', '').toString().trim().length() > 0
? systemProperties.get('cucumber.filter.tags') : '')
] ]
if (systemProperties.hasProperty('cucumber.filter.tags')) {
args.add('--tags')
args.add(systemProperties.get('cucumber.filter.tags').toString())
}
} }
} }
} }