Skip to content

Commit

Permalink
Fixed the srcDirs issue with gradle 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tokudu committed Feb 4, 2015
1 parent 25976cb commit 74b6da4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maven_push.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ afterEvaluate { project ->
}

task androidJavadocs(type: Javadoc) {
source = android.sourceSets.main.java
source = android.sourceSets.main.java.srcDirs
}

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

artifacts {
Expand Down

0 comments on commit 74b6da4

Please sign in to comment.