@@ -59,19 +59,19 @@ class ReleasePlugin extends PluginHelper implements Plugin<Project> {
59
59
}
60
60
61
61
project. task(' createScmAdapter' , group : RELEASE_GROUP ,
62
- description : ' Finds the correct SCM plugin' ) << this . &createScmAdapter
62
+ description : ' Finds the correct SCM plugin' ) doLast this . &createScmAdapter
63
63
project. task(' initScmAdapter' , group : RELEASE_GROUP ,
64
- description : ' Initializes the SCM plugin' ) << this . &initScmAdapter
64
+ description : ' Initializes the SCM plugin' ) doLast this . &initScmAdapter
65
65
project. task(' checkCommitNeeded' , group : RELEASE_GROUP ,
66
- description : ' Checks to see if there are any added, modified, removed, or un-versioned files.' ) << this . &checkCommitNeeded
66
+ description : ' Checks to see if there are any added, modified, removed, or un-versioned files.' ) doLast this . &checkCommitNeeded
67
67
project. task(' checkUpdateNeeded' , group : RELEASE_GROUP ,
68
- description : ' Checks to see if there are any incoming or outgoing changes that haven\' t been applied locally.' ) << this . &checkUpdateNeeded
68
+ description : ' Checks to see if there are any incoming or outgoing changes that haven\' t been applied locally.' ) doLast this . &checkUpdateNeeded
69
69
project. task(' unSnapshotVersion' , group : RELEASE_GROUP ,
70
- description : ' Removes "-SNAPSHOT" from your project\' s current version.' ) << this . &unSnapshotVersion
70
+ description : ' Removes "-SNAPSHOT" from your project\' s current version.' ) doLast this . &unSnapshotVersion
71
71
project. task(' confirmReleaseVersion' , group : RELEASE_GROUP ,
72
- description : ' Prompts user for this release version. Allows for alpha or pre releases.' ) << this . &confirmReleaseVersion
72
+ description : ' Prompts user for this release version. Allows for alpha or pre releases.' ) doLast this . &confirmReleaseVersion
73
73
project. task(' checkSnapshotDependencies' , group : RELEASE_GROUP ,
74
- description : ' Checks to see if your project has any SNAPSHOT dependencies.' ) << this . &checkSnapshotDependencies
74
+ description : ' Checks to see if your project has any SNAPSHOT dependencies.' ) doLast this . &checkSnapshotDependencies
75
75
76
76
project. task(' runBuildTasks' , group : RELEASE_GROUP ,
77
77
description : ' Runs the build process in a separate gradle run.' , type : GradleBuild ) {
@@ -86,13 +86,13 @@ class ReleasePlugin extends PluginHelper implements Plugin<Project> {
86
86
}
87
87
}
88
88
project. task(' preTagCommit' , group : RELEASE_GROUP ,
89
- description : ' Commits any changes made by the Release plugin - eg. If the unSnapshotVersion task was executed' ) << this . &preTagCommit
89
+ description : ' Commits any changes made by the Release plugin - eg. If the unSnapshotVersion task was executed' ) doLast this . &preTagCommit
90
90
project. task(' createReleaseTag' , group : RELEASE_GROUP ,
91
- description : ' Creates a tag in SCM for the current (un-snapshotted) version.' ) << this . &commitTag
91
+ description : ' Creates a tag in SCM for the current (un-snapshotted) version.' ) doLast this . &commitTag
92
92
project. task(' updateVersion' , group : RELEASE_GROUP ,
93
- description : ' Prompts user for the next version. Does it\' s best to supply a smart default.' ) << this . &updateVersion
93
+ description : ' Prompts user for the next version. Does it\' s best to supply a smart default.' ) doLast this . &updateVersion
94
94
project. task(' commitNewVersion' , group : RELEASE_GROUP ,
95
- description : ' Commits the version update to your SCM' ) << this . &commitNewVersion
95
+ description : ' Commits the version update to your SCM' ) doLast this . &commitNewVersion
96
96
97
97
Boolean supportsMustRunAfter = project. tasks. initScmAdapter. respondsTo(' mustRunAfter' )
98
98
0 commit comments