Replace empty argument in opts with if

This commit is contained in:
Pavel Punegov
2020-07-03 17:07:14 +03:00
committed by Pavel Punegov
parent 6d7004bf68
commit 825a02cfca
+1 -1
View File
@@ -4113,7 +4113,7 @@ Task frameworkTest(String name, Closure<FrameworkTest> configurator) {
}
extraOpts fr.bitcode ? "-Xembed-bitcode" : "-Xembed-bitcode-marker"
extraOpts fr.isStatic ? "-Xstatic-framework" : ""
if (fr.isStatic) extraOpts "-Xstatic-framework"
extraOpts fr.opts
extraOpts project.globalTestArgs