From cc18d56549cdea03f744b6fff27911569394073e Mon Sep 17 00:00:00 2001 From: Oleksii Kropachov Date: Wed, 11 Jun 2014 14:00:49 +0300 Subject: [PATCH] Empty sources.jar and javadoc.jar issue fixed. --- gradle-mvn-push.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle-mvn-push.gradle b/gradle-mvn-push.gradle index c075936..724e01c 100644 --- a/gradle-mvn-push.gradle +++ b/gradle-mvn-push.gradle @@ -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)) } @@ -106,7 +106,7 @@ afterEvaluate { project -> task androidSourcesJar(type: Jar) { classifier = 'sources' - from android.sourceSets.main.allSource + from android.sourceSets.main.java.source } artifacts {