Skip to content

Commit 74b6da4

Browse files
committed
Fixed the srcDirs issue with gradle 2.1
1 parent 25976cb commit 74b6da4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

maven_push.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ afterEvaluate { project ->
5959
}
6060

6161
task androidJavadocs(type: Javadoc) {
62-
source = android.sourceSets.main.java
62+
source = android.sourceSets.main.java.srcDirs
6363
}
6464

6565
task androidJavadocsJar(type: Jar) {
@@ -71,7 +71,7 @@ afterEvaluate { project ->
7171
task androidSourcesJar(type: Jar) {
7272
classifier = 'sources'
7373
//basename = artifact_id
74-
from android.sourceSets.main.java
74+
from android.sourceSets.main.java.srcDirs
7575
}
7676

7777
artifacts {

0 commit comments

Comments
 (0)