我想删除项目makefile并编写一些不错的gradle任务。我需要按顺序执行以下任务:清洁增量版本build上传#1、#3和#4是来自android和插件(bintray)的任务,而#2是自定义任务。这是我目前所拥有的:taskreleaseMajor{doLast{clean.execute()build.execute()incrementVersion.execute()bintrayUpload.execute()}}运行顺序不如我认为clean在build之后运行。binrayUpload运行时没有任何味道(release)。我也尝试过使用dependsOn但没有成功(订单