comparison 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
comparison
equal deleted inserted replaced
258:98a734a5287e 259:020de521e394
179 } 179 }
180 if (details.requested.version == 'default') { 180 if (details.requested.version == 'default') {
181 details.useVersion("latest.${gradle.branch.defaultDependencyStatus}" ) 181 details.useVersion("latest.${gradle.branch.defaultDependencyStatus}" )
182 } 182 }
183 if (project.hasProperty("overrideCommon")) { 183 if (project.hasProperty("overrideCommon")) {
184 if (details.requested.group == 'org.ssdt_ohio' && details.requested.name.contains('ssdt.common.')) { 184 if (details.requested.group == 'org.ssdt_ohio' && details.requested.name.contains('ssdt.common.')) {
185 details.useVersion(project.overrideCommon) 185 details.useVersion(project.overrideCommon)
186 } 186 }
187 }
188 if (project.hasProperty("overrideVui")) {
189 if (details.requested.group == 'org.ssdt_ohio' && details.requested.name.startsWith('vui.')) {
190 details.useVersion(project.overrideVui)
191 }
187 } 192 }
188 if (project.hasProperty("overrideUsasCore")) { 193 if (project.hasProperty("overrideUsasCore")) {
189 if (details.requested.group == 'org.ssdt_ohio' && details.requested.name.startsWith('usas.') && !details.requested.name.startsWith('usas.vui')) { 194 if (details.requested.group == 'org.ssdt_ohio' && details.requested.name.startsWith('usas.') && !details.requested.name.startsWith('usas.vui')) {
190 details.useVersion(project.overrideUsasCore) 195 details.useVersion(project.overrideUsasCore)
191 } 196 }