How to create a custom artifact of a folder using Gradle

Viewed 21

I currently have a Java project with Gradle. The structure looks like this:

project
| -- out
| -- -- files
| -- src
| -- build.gradle

The files folder contains multiple .bin files which are created during the build process.

Is it possible to create a dedicated artifact for the files folder only (e.g. a .jar) using Gradle? Because I want to publish the files folder as an artifact to an artifactory so I can use it later on in another project.

0 Answers
Related