Plugin for integration continuous integration and release management in gradle projects.
Goal: Incapsulate all logic to work with Artifactory and Release Management.
How does it work:
- Apply com.jfrog.artifactory plugin and configure it to work with Artifactory
- Add tasks for backward compatibility (openStagingRepository, closeStagingRepository and etc)
- Set project version && strategy of RM 2.0 dependency registration passed via command line options 'buildVersion' (String), 'includeAllDependencies' (Boolean)
- Apply plugin com.platformlib.gradle-wrapper and configure it (to support build in docker)
- Configure maven repositories for Escrow if needed
- Add task and extension for Release Management (releaseManagement, autoUpdateDependencies)
Document publishing is a part of component build chain, module docs
The required parameters to test:
packageName - The temporary parameter to be able to use package name which is set up externally
./gradlew test -PpackageName=octopusden
- nexus - The parameter to mark that it needs to publish two plugins or one(without it two plugins will be published)