melowe opened a new issue #208:
URL: https://github.com/apache/incubator-tuweni/issues/208


   Publishing artefacts using publishToMavenLocal reveals an issue with 
dependency naming. While the artefacts are published using only the short 
module name some dependencies are declared using the Tuweni prefix..  I've been 
forced to hack a resolutionStrategy to deal with this but its far from ideal. 
   
   ```    
   resolutionStrategy.eachDependency {details ->
     if(details.requested.group == "org.apache.tuweni" && 
details.requested.name.startsWith("tuweni")) {
           def shortName = details.requested.name.replaceFirst("tuweni-","")
           details.useTarget("org.apache.tuweni:"+ shortName +":"+ 
details.requested.version)
         }
   }```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tuweni.apache.org
For additional commands, e-mail: dev-h...@tuweni.apache.org

Reply via email to