We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af4f38c commit 531bc3dCopy full SHA for 531bc3d
build.gradle
@@ -12,12 +12,8 @@ buildscript {
12
13
apply plugin: "com.gradle.plugin-publish"
14
description = 'gradle-scoverage is a Gradle plugin for calculating code coverage using Scoverage'
15
-version = {
16
- if (project.hasProperty('version')) {
17
- return project.getProperty('version')
18
- } else {
19
- return '2.0.0-SNAPSHOT'
20
- }
+if (project.version == 'unspecified') {
+ version = '2.0.0-SNAPSHOT'
21
}
22
23
repositories {
0 commit comments