How to publish a source archive with gradle


During the last days I asked my self “How can I publish an archive of the source code with gradle”.

Background for that question, was the search for an possibility for automatic source code integration in my IDE. If I could do this, I didn’t need to change the project everytime when I would like to have a deeper look into the code.

I constrast to Gradle, Maven has this nice plugin Maven Source Plugin for that.

But work that needs to be done is not too much:

gradle -i install, for example, has now this output.

Voilá works done

13 Kudos

2 thoughts on “How to publish a source archive with gradle

Leave a Reply

Your email address will not be published. Required fields are marked *