chrisbanes / gradle-mvn-push

Helper to upload Gradle Android Artifacts to Maven repositories
Apache License 2.0
1.05k stars 283 forks source link

Error:Could not find property 'allJava' on source set main #35

Closed jpardogo closed 4 years ago

jpardogo commented 10 years ago

Fix to issue #33

chrisjenx commented 10 years ago

You know this should actually be android.sourceSets.main.java.getSrcDirs() btw. Otherwise it uses the toString() method which is incorrect. This will provide empty source/javaDoc Jars.

trshafer commented 10 years ago

This solution works for me.

jpardogo commented 10 years ago

I changed android.sourceSets.main.java for android.sourceSets.main.java.getSrcDirs() . So it doesn't uses the toString() method which is incorrect. Thanks @chrisjenx for pointing the issue.

AlexanderLS commented 6 years ago

@jpardogo @chrisjenx @trshafer your commits merged to https://github.com/Vorlonsoft/GradleMavenPush