diff init20.gradle @ 258:98a734a5287e

permit usas.core and usps.core versions to be overridden via properties
author smith@nwoca.org
date Thu, 18 Oct 2018 00:20:35 +0100
parents 70b500eef001
children 020de521e394
line wrap: on
line diff
--- a/init20.gradle	Tue Oct 09 21:08:29 2018 +0100
+++ b/init20.gradle	Thu Oct 18 00:20:35 2018 +0100
@@ -185,6 +185,16 @@
                    details.useVersion(project.overrideCommon)
                }
             }
+            if (project.hasProperty("overrideUsasCore")) {
+               if (details.requested.group == 'org.ssdt_ohio' && details.requested.name.startsWith('usas.') && !details.requested.name.startsWith('usas.vui')) {
+                   details.useVersion(project.overrideUsasCore)
+               }
+            }
+             if (project.hasProperty("overrideUspsCore")) {
+               if (details.requested.group == 'org.ssdt_ohio' && details.requested.name.startsWith('usps.') && !details.requested.name.startsWith('usps.vui')) {
+                   details.useVersion(project.overrideUspsCore)
+               }
+            }
         }
     }