CHAPTER 8
Publishing Artifacts
In order to share internally developed frameworks and libraries, developers need to publish them to repositories. In this chapter, you will use Gradle to publish artifacts to local file system and an repository.
Publishing to a Local Repository
The projects you work with typically generate one or more artifacts such as JAR, WAR, or ZIP files. Gradle provides an archives configuration that can be used to declare the artifacts produced by a project. A Java project by default produces a JAR file and hence the Java plugin automatically associates the generated JAR to the archives configuration. Similarly, the War plugin ...
Get Introducing Gradle now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.