diff init20.gradle @ 259:020de521e394

Add overrideVui capability
author Greg Shepherd <shepherd@nwoca.org>
date Fri, 19 Oct 2018 10:57:27 -0400
parents 98a734a5287e
children 7b699c240ceb
line wrap: on
line diff
--- a/init20.gradle	Thu Oct 18 00:20:35 2018 +0100
+++ b/init20.gradle	Fri Oct 19 10:57:27 2018 -0400
@@ -181,9 +181,14 @@
                 details.useVersion("latest.${gradle.branch.defaultDependencyStatus}" )
             }
             if (project.hasProperty("overrideCommon")) {
-               if (details.requested.group == 'org.ssdt_ohio' && details.requested.name.contains('ssdt.common.')) {
-                   details.useVersion(project.overrideCommon)
-               }
+                if (details.requested.group == 'org.ssdt_ohio' && details.requested.name.contains('ssdt.common.')) {
+                    details.useVersion(project.overrideCommon)
+                }
+            }
+            if (project.hasProperty("overrideVui")) {
+                if (details.requested.group == 'org.ssdt_ohio' && details.requested.name.startsWith('vui.')) {
+                    details.useVersion(project.overrideVui)
+                }
             }
             if (project.hasProperty("overrideUsasCore")) {
                if (details.requested.group == 'org.ssdt_ohio' && details.requested.name.startsWith('usas.') && !details.requested.name.startsWith('usas.vui')) {