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 205ec6d commit 080da19Copy full SHA for 080da19
build.gradle
@@ -69,7 +69,13 @@ nexusPublishing {
69
}
70
71
release {
72
- buildTasks = ['doRelease']
+ buildTasks = [
73
+ 'checkLastVersionValue',
74
+ 'initializeSonatypeStagingRepository',
75
+ 'clean',
76
+ 'build',
77
+ 'publishToSonatype'
78
+ ]
79
git {
80
requireBranch.set('xxx')
81
@@ -101,16 +107,6 @@ def updateLastVersionValueTask = tasks.register('updateLastVersionValue') {
101
107
102
108
103
109
104
-task doRelease {
105
- dependsOn(
106
- checkLastVersionValueTask,
- 'initializeSonatypeStagingRepository',
- 'clean',
- 'build',
110
- project.getTasksByName('publishToSonatype', true)
111
- )
112
-}
113
-
114
model {
115
tasks.unSnapshotVersion {
116
dependsOn updateLastVersionValueTask
0 commit comments