Indeed, using just the 'idea' plugin is not enough as it does not know
about android specific stuff. One possibility is to have 'idea' and
'idea-android' plugins (similar to 'eclipse' and 'eclipse-wtp') but this is
not optimal too. Another way is to make 'idea' plugin extensible and make
android support plug its functionality there. Or if you have yet another
solution let me know. I'd like to see a good support here and perhaps can
help with the Gradle side of it.


2014-07-01 22:37 GMT+02:00 'Scott Barta' via adt-dev <
[email protected]>:

> I don't think the Idea plugin for Gradle is going to work because I don't
> think it knows anything about Android project structure, which is specific
> to the Android plugin.
>
>
> On Tue, Jul 1, 2014 at 12:41 PM, Michael Wallstedt <
> [email protected]> wrote:
>
>> This looks like a step in the right direction. I attempted a simple
>> manipulation of an .iml file by adding an idea.module.iml section in the
>> build.gradle file associated with that project. Unfortunately the .iml file
>> generated by invoking gradle :idea is quite different from what Android
>> Studio produces via 'Sync Project with Gradle Files'. Is Android Studio
>> doing something internally before invoking the Idea plugin? Is there a way
>> to replicate this behavior when invoking the plugin manually?
>>
>>
>> On Tuesday, July 1, 2014 12:51:49 AM UTC-7, Riccardo Ciovati wrote:
>>>
>>> Il giorno martedì 1 luglio 2014 04:34:50 UTC+2, Michael Wallstedt ha
>>> scritto:
>>>>
>>>> I'm working on a setup script to automate as much of the IDE
>>>> configuration as possible. Given a set of .gradle files, is there a way to
>>>> generate the .idea folder and .iml files, without launching any kind of UI?
>>>>
>>>
>>> Take a look at the IDEA plugin:
>>> http://www.gradle.org/docs/current/userguide/idea_plugin.html
>>>
>>> Regards,
>>> Riccardo.
>>>
>>  --
>> 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.
>>
>
>  --
> 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.
>

-- 
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.

Reply via email to