Skip to content

Commit 4478676

Browse files
committed
Use project.getTasksByName
1 parent 080da19 commit 4478676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ release {
7474
'initializeSonatypeStagingRepository',
7575
'clean',
7676
'build',
77-
'publishToSonatype'
77+
project.getTasksByName('publishToSonatype', true)
7878
]
7979
git {
8080
requireBranch.set('xxx')

0 commit comments

Comments
 (0)