Mercurial > public > develkit
changeset 275:476b0c13b22e
SSED-1253: Remove DependencyResolveDetails
author | Wendy Root <root@nwoca.org> |
---|---|
date | Wed, 16 Oct 2019 15:31:26 -0400 |
parents | 068637778a0d |
children | 5eafafe0d79c |
files | init.gradle |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/init.gradle Wed Mar 06 17:17:14 2019 +0000 +++ b/init.gradle Wed Oct 16 15:31:26 2019 -0400 @@ -35,7 +35,7 @@ 'spring-web-servlet' : 'spring-webmvc', ].withDefault { it } -gradle.ext.normalizeSpring = { DependencyResolveDetails details -> +gradle.ext.normalizeSpring = { details -> if (details.requested.group == 'org.springframework' && details.requested.name.startsWith ('org.springframework.' )) { def shortName = springModuleTranslator[details.requested.name.replace('org.springframework.', 'spring-').replace('.','-')] details.useTarget(group: 'org.springframework', name: shortName, version: details.requested.version)