File tree Expand file tree Collapse file tree 6 files changed +6
-13
lines changed
Expand file tree Collapse file tree 6 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 2121script :
2222 - chmod +x gradlew
2323 - ./gradlew clean build
24- - ./gradlew buildAndUpload
2524
2625cache :
2726 directories :
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ plugins {
2424 id " com.jfrog.bintray" version " 1.7.3"
2525}
2626apply plugin : ' kotlin'
27- apply from : file(' gradle/buildAndDeploy.gradle' )
2827
2928allprojects {
3029 repositories {
Original file line number Diff line number Diff line change @@ -47,4 +47,6 @@ dependencies {
4747 compile " org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version "
4848
4949 compile ' com.facebook.shimmer:shimmer:0.1.0@aar'
50- }
50+ }
51+
52+ apply from : file(' gradle/buildAndDeploy.gradle' )
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -5,17 +5,10 @@ apply from: file('gradle/bintray-upload.gradle')
55
66task buildAndDeploy {
77 if ((System . env. TRAVIS_TAG != null && ! System . env. TRAVIS_TAG . isEmpty())) {
8- dependsOn ' clean'
9- dependsOn ' build'
108 dependsOn ' install'
119 dependsOn ' bintrayUpload'
12- tasks. findByName(' build' ). mustRunAfter ' clean'
13- tasks. findByName(' install' ). mustRunAfter ' build'
1410 tasks. findByName(' bintrayUpload' ). mustRunAfter ' install'
15- } else {
16- dependsOn ' clean'
17- dependsOn ' build'
18-
19- tasks. findByName(' build' ). mustRunAfter ' clean'
2011 }
21- }
12+ }
13+
14+ tasks. findByName(' build' ). finalizedBy(buildAndDeploy)
You can’t perform that action at this time.
0 commit comments