Uploading artifacts without a pom file


(Kurt Kartaltepe) #1

Is it possible to get something to the effect of http://maven.apache.org/plugins/maven-deploy-plugin/examples/disabling-generic-pom.html in gradle? Everything I search for and find documented tells me how to alter the pom file that is generated but nothing about how to disable it. There are examples of uploading only a pom file with no artifacts but not the reverse.


(Peter Niederwieser) #2

If you are using the ‘maven’ plugin, ‘uploadArchives.uploadDescriptor = false’ might do the trick.