Skip to content

Commit

Permalink
Empty sources.jar and javadoc.jar issue fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksii Kropachov committed Jun 11, 2014
1 parent 3a1e568 commit cc18d56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle-mvn-push.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ afterEvaluate { project ->

task androidJavadocs(type: Javadoc) {
failOnError = false
source = android.sourceSets.main.allJava
source = android.sourceSets.main.java.source
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
}

Expand All @@ -106,7 +106,7 @@ afterEvaluate { project ->

task androidSourcesJar(type: Jar) {
classifier = 'sources'
from android.sourceSets.main.allSource
from android.sourceSets.main.java.source
}

artifacts {
Expand Down

0 comments on commit cc18d56

Please sign in to comment.