Skip to content

Commit 6bad029

Browse files
committed
Created a single build/publish task, 'publishArchives', to clean-install-upload
the current version of the script
1 parent d45daa7 commit 6bad029

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tools/bintray-publish.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,11 @@ artifacts {
102102
archives androidSourcesJar
103103
archives androidJavadocsJar
104104
}
105+
106+
task publishArchives {
107+
dependsOn 'clean'
108+
dependsOn 'install'
109+
dependsOn 'bintrayUpload'
110+
tasks.findByName('install').mustRunAfter 'clean'
111+
tasks.findByName('bintrayUpload').mustRunAfter 'install'
112+
}

0 commit comments

Comments
 (0)