Skip to content

Commit 83d59e1

Browse files
committed
Fixed pushMaven
1 parent 3fe19cc commit 83d59e1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ script:
3636
- if [[ $LINT == 'true' ]]; then gradle lint ; fi
3737

3838
after_success:
39-
- if [[ $MAVEN == 'true' && $TRAVIS_BRANCH == 'dev' && $TRAVIS_PULL_REQUEST == 'false' ]]; then gradle uploadArchives -PnexusUsername="${nexusUsername}" -PnexusPassword="${nexusPassword}" ; fi
4039
- if [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then gradle generateReleaseJavadoc publishGhPages -PBRANCH=$TRAVIS_BRANCH ; fi
40+
- if [[ $MAVEN == 'true' && $TRAVIS_BRANCH == 'dev' && $TRAVIS_PULL_REQUEST == 'false' ]]; then gradle uploadArchives -PnexusUsername="${nexusUsername}" -PnexusPassword="${nexusPassword}" ; fi
4141

4242
notifications:
4343
email: false

library/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ githubPages {
6464
}
6565
}
6666

67-
apply from: '../maven_push.gradle'
67+
apply from: '../pushMaven.gradle'
6868
apply from: '../generateJavadoc.gradle'

maven_push.gradle renamed to pushMaven.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ afterEvaluate { project ->
6060
}
6161

6262
task androidJavadocs(type: Javadoc) {
63-
source = android.sourceSets.main.allJava
63+
source = android.sourceSets.main.java
6464
}
6565

6666
task androidJavadocsJar(type: Jar) {
@@ -70,11 +70,11 @@ afterEvaluate { project ->
7070

7171
task androidSourcesJar(type: Jar) {
7272
classifier = 'sources'
73-
from android.sourceSets.main.allSource
73+
from android.sourceSets.main.java.sourceFiles
7474
}
7575

7676
task coreLibJar(type: Jar) {
77-
from fileTree(dir: 'build/classes/release').matching { include 'com/nhaarman/listviewanimations/**' }
77+
from fileTree(dir: './build/intermediates/classes/release').matching { include 'com/nhaarman/listviewanimations/**' }
7878
}
7979

8080
artifacts {

0 commit comments

Comments
 (0)