Author: mthl
Date: Mon Mar 18 23:19:44 2019
New Revision: 1855798
URL:
http://svn.apache.org/viewvc?rev=1855798&view=revLog:
Improved: Merge regexps inside ‘createOfbizCommandTask’
Modified:
ofbiz/ofbiz-framework/trunk/build.gradle
Modified: ofbiz/ofbiz-framework/trunk/build.gradle
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/build.gradle?rev=1855798&r1=1855797&r2=1855798&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/build.gradle (original)
+++ ofbiz/ofbiz-framework/trunk/build.gradle Mon Mar 18 23:19:44 2019
@@ -984,9 +984,7 @@ def createOfbizCommandTask(taskName, arg
classpath = files(jar.outputs)
main = ofbizMainClass
args arguments
-
- if (taskName ==~ /^ofbiz.*--test.*/
- || taskName ==~ /^ofbiz.*-t.*/) {
+ if (taskName ==~ /^ofbiz.*(--test|-t).*/) {
finalizedBy(createTestReports)
}
}