DSL: How to create a dependencyNotation for DependencyHandler create

Hi,

I’ve been trying to add dynamic dependencies. I’ve used below code:

project.dependencies.create(“group:”+groupId+“, name:”+artiId+“, version:”+artiVersion)
However this dependency is not resolved properly and is looking up in incorrect repository location. As far as I’ve read in documentation I understand there is some problem with dependencyNotation in my code. Can some one please help me understand how to create the same? Or point me to some article where I can read about it.

Thanks

Sorry … looks like I was sleeping while reading documentation :slight_smile:
resolved as below:

project.dependencies.create(groupId+“:”+artiId+“:”+artiVersion+“@zip”)