Skip to content

Commit

Permalink
Removed android.sourceSets.main.allJava doesn't exist in gradle plugi…
Browse files Browse the repository at this point in the history
…n 0.11.
  • Loading branch information
gabrielemariotti committed Jun 14, 2014
1 parent 03ed2fd commit fdf6c9e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions maven_push.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ afterEvaluate { project ->
}

task androidJavadocs(type: Javadoc) {
source = android.sourceSets.main.allJava
options {
linksOffline "http://d.android.com/reference", "${android.sdkDirectory}/docs/reference"
}
source = android.sourceSets.main.java.sourceFiles
classpath += project.files(project.android.getBootClasspath().join(File.pathSeparator))
}

Expand All @@ -84,7 +87,7 @@ afterEvaluate { project ->
task androidSourcesJar(type: Jar) {
classifier = 'sources'
//basename = artifact_id
from android.sourceSets.main.allSource
from android.sourceSets.main.java.sourceFiles
}

artifacts {
Expand Down

0 comments on commit fdf6c9e

Please sign in to comment.