In order to publish your project artifact into Artifactory, you need to define publication detailsĀ in your build.gradle file. First you need to define the Artifactory server and credentials for deploying your artifact. In the "artifactory" you can define the target repository even dynamically. In my example the repository URL depends on the type of the… Continue reading Publishing with Gradle into Artifactory
Tag: Groovy
Using Gradle Distribution plug-in
Recently I had to configure the Gradle Distribution plugin for a microservice application, in order to work the same way as the Maven Assembly plugin. This plugin makes it possible to create a tar.gz distribution file for our Spring Boot microservices. It contains the runnable Spring Boot jar file and all necessary configuration files. To… Continue reading Using Gradle Distribution plug-in