Skip to content
Permalink
Browse files

Improved: Merge regexps inside ‘createOfbizCommandTask’

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1855798 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
mthl committed Mar 18, 2019
1 parent 0b53c96 commit 280ae49452a0ce749adc56c6ef1f3ef002a0088b
Showing with 1 addition and 3 deletions.
  1. +1 −3 build.gradle
@@ -984,9 +984,7 @@ def createOfbizCommandTask(taskName, arguments) {
classpath = files(jar.outputs)
main = ofbizMainClass
args arguments

if (taskName ==~ /^ofbiz.*--test.*/
|| taskName ==~ /^ofbiz.*-t.*/) {
if (taskName ==~ /^ofbiz.*(--test|-t).*/) {
finalizedBy(createTestReports)
}
}

0 comments on commit 280ae49

Please sign in to comment.
You can’t perform that action at this time.