Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 1.22 KB

SvnVersion.md

File metadata and controls

18 lines (13 loc) · 1.22 KB

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

Property Description Default value
sourcePath Local SVN working copy directory $project.projectDir
targetPropertyName The name of the project extra property that will receive the resulting SvnVersionData object svnVersion
ignoreErrors Continue the build if the specified path is no SVN working copy false
username The SVN username - leave empty if no authentication is required $project.svntools.username
password The SVN password - leave empty if no authentication is required $project.svntools.password

Example

See version examples