File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ plugins {
77
88}
99
10+ apply plugin : ' idea'
11+ apply plugin : ' groovy'
12+ apply plugin : ' application'
13+ apply plugin : ' com.github.johnrengelman.shadow'
14+ apply plugin : ' nebula.ospackage'
15+
1016mainClassName = ' com.rundeck.plugin.Generator'
1117applicationName = ' rundeck-plugin-bootstrap'
1218ext. distInstallPath = ' /var/lib/rundeck-pb'
@@ -32,15 +38,6 @@ scmVersion {
3238 tag {
3339 prefix = ' '
3440 versionSeparator = ' '
35- def origDeserialize= deserialize
36- // apend .0 to satisfy semver if the tag version is only X.Y
37- deserialize = { config , position , tagName ->
38- def orig = origDeserialize(config, position, tagName)
39- if (orig. split(' \\ .' ). length < 3 ) {
40- orig + = " .0"
41- }
42- orig
43- }
4441 }
4542}
4643
@@ -84,4 +81,8 @@ ospackage {
8481// depend on the shadow artifact
8582buildDeb. dependsOn shadowDistZip
8683buildRpm. dependsOn shadowDistZip
87- assemble. dependsOn buildRpm, buildDeb
84+ assemble. dependsOn buildRpm, buildDeb
85+
86+ task wrapper (type : Wrapper ) {
87+ gradleVersion = ' 4.7'
88+ }
You can’t perform that action at this time.
0 commit comments