Skip to content

Commit 0423eaa

Browse files
committed
allow version control from command line
1 parent f23360f commit 0423eaa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ repositories {
1010

1111
group 'org.scoverage'
1212
description = 'gradle-scoverage is a Gradle plugin for calculating code coverage using Scoverage'
13-
version = '3.0.0-SNAPSHOT'
14-
13+
if (project.version == 'unspecified') {
14+
version = '3.0.0-SNAPSHOT'
15+
}
1516
ext {
1617
website = 'http://scoverage.org'
1718
vcsUrl = 'https://github.com/scoverage/gradle-scoverage.git'

0 commit comments

Comments
 (0)