Publishing Ivy artifacts into non standard repo structure (new plugin)


I’m trying to use the new ivy publishing plugin and have the artifacts deployed with non-default ivyPattern and artifactPattern. I tried doing it as specified below, but artifacts were still published in default locations. Any help is greatly appreciated.

Thanks! Nadav

publishing {
    publications {
        local(IvyPublication) {
    repositories {
        ivy {
            url "file://$buildDir/repo" // change to point to your repo, e.g.

Just realized that when I remove the “url” line it works as expected… apologies!