How use plugin: 'maven-publish' for publishing several non jar files?


(dusiabh) #1

My build is generated several gz files and I need to publish it to artifactory. I would like to use maven-publishing for that

can’t find example similar to that one:

def fileList = files('aka.gz', 'bb.gz')
  artifacts {
    archives fileList
}