Gradle 0.11 complains about allJava from android.sourceSets.main
alopix opened this issue · comments
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.
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
@cocoahero I did the same thing (swapping allJava to java) and so far no problem with deployment.
I'm facing the same issue. Have you found a solution for packaging the source and JavaDoc jars?
@shomeser Thank you!
This is very probably outdated 🤷🏻♂️