Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.72 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.72 KB

gradle-svntools-plugin

A Gradle plugin (based on SVNKit) that provides various Subversion-related tasks.

Here is a very short build script that prints out the SVN revision:

apply plugin: "at.bxm.svntools"
task info << {
  println "Current revision is $svntools.info.revisionNumber"
}

The svntools-plugin can interact with existing SVN workspaces as well as create new workspaces (by performing a svn-checkout). It can interact with any SVN working copy format; no additional SVN client is required.

Please report bugs and feature requests at the Github issue page.

Use-case examples

  • Add the SVN revision to the MANIFEST file when publishing artifacts
  • Create a tag as part of an automated release process
  • Commit files that have been changed during the build process (e.g. bumped version numbers)

Usage

Build Status