comparison 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
comparison
equal deleted inserted replaced
257:70b500eef001 258:98a734a5287e
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 }
187 }
188 if (project.hasProperty("overrideUsasCore")) {
189 if (details.requested.group == 'org.ssdt_ohio' && details.requested.name.startsWith('usas.') && !details.requested.name.startsWith('usas.vui')) {
190 details.useVersion(project.overrideUsasCore)
191 }
192 }
193 if (project.hasProperty("overrideUspsCore")) {
194 if (details.requested.group == 'org.ssdt_ohio' && details.requested.name.startsWith('usps.') && !details.requested.name.startsWith('usps.vui')) {
195 details.useVersion(project.overrideUspsCore)
186 } 196 }
187 } 197 }
188 } 198 }
189 } 199 }
190 200