Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
alopix opened this issue Jun 10, 2014 · 6 comments
Closed

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

alopix opened this issue Jun 10, 2014 · 6 comments

Comments

@alopix
Copy link

alopix commented Jun 10, 2014

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
Copy link

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
Copy link

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

@vRallev
Copy link

vRallev commented Jun 11, 2014

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

@ok3141
Copy link

ok3141 commented Jun 11, 2014

@vRallev check pull request #29

@vRallev
Copy link

vRallev commented Jun 11, 2014

@shomeser Thank you!

danhbear added a commit to danhbear/StickyListHeaders that referenced this issue Jun 18, 2014
This hasn't been fixed in mainline gradle-mvn-push, so referencing the following commit from a PR that looks like it will be merged:

shamanland/gradle-mvn-push@cc18d56
chrisbanes/gradle-mvn-push#29
chrisbanes/gradle-mvn-push#28
@alopix
Copy link
Author

alopix commented Aug 25, 2020

This is very probably outdated 🤷🏻‍♂️

@alopix alopix closed this as completed Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants