chrisbanes / gradle-mvn-push

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

Gradle 0.11 complains about allJava from android.sourceSets.main #28

Closed alopix closed 4 years ago

alopix commented 10 years ago

Seems like gradle 0.11 removed allJava from android.sourceSets.main. At least gradle complains with latest Android Studio 0.6 about not knowing about allJava.

cocoahero commented 10 years ago

I noticed this as well and did some digging, as noted on SO here: http://stackoverflow.com/a/24151231/998395. Swapping allJava out for java seems to fix the issue.

On a related note, this script also will complain about android.sourceSets.main.allSource, which was also removed in 0.11. I have submitted a bug report for that one here: https://code.google.com/p/android/issues/detail?id=71174

marteinn commented 10 years ago

@cocoahero I did the same thing (swapping allJava to java) and so far no problem with deployment.

vRallev commented 10 years ago

I'm facing the same issue. Have you found a solution for packaging the source and JavaDoc jars?

ok3141 commented 10 years ago

@vRallev check pull request #29

vRallev commented 10 years ago

@shomeser Thank you!

alopix commented 4 years ago

This is very probably outdated 🤷🏻‍♂️