SvnVersion.md

November 10, 2016 ยท View on GitHub

SvnVersion task

Creates a SvnVersionData object (see General Configuration) that contains information about an SVN working copy (similar to the svnversion command). The object is added as an "extra property" to the Gradle project and may be accessed with $project.svnVersion.

Configuration

PropertyDescriptionDefault value
sourcePathLocal SVN working copy directory$project.projectDir
targetPropertyNameThe name of the project extra property that will receive the resulting SvnVersionData objectsvnVersion
ignoreErrorsContinue the build if the specified path is no SVN working copyfalse
usernameThe SVN username - leave empty if no authentication is required$project.svntools.username
passwordThe SVN password - leave empty if no authentication is required$project.svntools.password

Example

See version examples