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 cf3504c commit 57296bdCopy full SHA for 57296bd
build.gradle
@@ -112,7 +112,8 @@ task doRelease {
112
checkLastVersionValueTask,
113
'initializeSonatypeStagingRepository',
114
'clean',
115
- 'build'
+ 'build',
116
+ tasks.named {it.name = 'publishToSonatype'}
117
)
118
}
119
@@ -121,16 +122,3 @@ model {
121
122
dependsOn updateLastVersionValueTask
123
124
-println('ooo1')
125
-println(project.getTasksByName('publishToSonatype', true))
126
127
-afterEvaluate {
128
- println('ooo2')
129
- println(project.getTasksByName('publishToSonatype', true))
130
131
- model {
132
- tasks.doRelease {
133
- dependsOn project.getTasksByName('publishToSonatype', true)
134
- }
135
136
-}
0 commit comments