Hi Xavier / All,
As far as I've understood the current situation is this:
- Works with AAR only if both the AAR and the sources are available on a
maven server
- Works with Jar only if both the jar and its sources are available on a
maven server
- Doesn't work with Javadoc only (no sources), not even with Jars
- Doesn't work locally (including the jar in the libs/ directory)
Does this look a fair picture of the current situation or am I wrong?
In previous versions I was able to manually add the javadoc even if my
confing would then be overridden by Android Studio at the next sync. Now
this is not possible anymore and I'm stack at switching to a browser to
read the javadoc of the libraries I use.
Setting
idea {
module {
downloadJavadoc = true
downloadSources = true
}}
DOES make intellij download the javadoc if available but it then do not
pick it up.
Does anyone know of a workaround? I really need the javadoc in the IDE to
speed up the development. Thank you.
Thank you very much,
Daniele
On Friday, July 26, 2013 12:35:34 AM UTC+2, Xavier Ducrohet wrote:
>
> I don't think Gradle handles this at this point. I've talked to the devs
> and they are aware of it. We're looking at adding a hook in Gradle so that
> we can do it when the tooling API queries the model.
>
>
> On Tue, Jul 2, 2013 at 5:14 AM, Raúl Muñoz Benavente <
> [email protected] <javascript:>> wrote:
>
>> I also tried adding this to build.gradle:
>>
>>
>> apply plugin: 'idea'
>>
>> idea {
>> module {
>> downloadJavadoc = true
>> downloadSources = true
>> }
>> }
>>
>> But with no effect, only the library jar is downloaded by gradle, but not
>> the javadoc and sources jars.
>>
>> There is a post in stackoverflow about this:
>>
>> http://stackoverflow.com/questions/12718753/how-to-download-dependency-sources-for-gradle-project-in-idea
>>
>> But I have had no luck with it.
>>
>> Thanks
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "adt-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
> http://developer.android.com | http://tools.android.com
>
> Please do not send me questions directly. Thanks!
>
--
You received this message because you are subscribed to the Google Groups
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.