I meant to update this thread that I opened an issue for this a little while ago: https://code.google.com/p/android/issues/detail?id=63904
I've checked out the Android Studio source code to see if I can help debug. Any pointers on where I should start? Thanks Scott On Wed, Dec 11, 2013 at 11:43 AM, Scott Battaglia <[email protected] > wrote: > I can confirm when I switch back to the standard plugin, Android Studio is > happy. As far as I can tell, I didn't override the ToolingModelBuilder > implementation. I'll see if I can find any log files. > > > > On Tue, Dec 10, 2013 at 5:43 PM, Xavier Ducrohet <[email protected]> wrote: > >> Unless your custom plugin is overriding our implementation >> of ToolingModelBuilder I would expect that AS could query the model and get >> the right values from the module. I'm not sure what is going on. >> >> >> On Tue, Dec 10, 2013 at 2:14 PM, Scott Battaglia < >> [email protected]> wrote: >> >>> In order to provide some behavior that might be shared across multiple >>> projects, I extended the existing Android Library Gradle plugin and >>> override some methods to register a software component (to work with the >>> Maven Publish task) and some javadoc tasks (to generate javadocs). >>> >>> I have a bunch of modules in a project using this new plugin (which all >>> work fine from the command line). Android Studio appears to have trouble >>> recognizing these modules (i.e. no source directory appears to be >>> highlighted). What is Android Studio using to recognize that a module is >>> an Android project such that my custom extension would work? >>> >>> Its preferable to be able to say "apply plugin" versus "apply plugin" >>> and then "apply from" to get additional behavior that multiple projects >>> could benefit from. >>> >>> Thanks >>> Scott >>> >>> -- >>> 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/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/groups/opt_out. >> > > -- 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/groups/opt_out.
