Is it acceptable to accept a patch to generate Eclipse setting files for Android project?


(shiketa1999) #1

I’d like to ask if it’s acceptable for a patch that generates Eclipse setting files (.project, .classpath) for Android projects (‘android’ and ‘android-library’ plugin).

Because I’m trying to write a patch to around the subprojects/ide/src/main/groovy/org/gradle/plugins/ide/eclipse package like the eclipse plugin generates Scala specific Eclipse setting files for a Scala project.


(Radim Kubacki) #2

Of course that contribution are welcome (there are some resources like https://github.com/gradle/gradle/blob/master/CONTRIBUTING.md describing technical details).

If you plan to do a work like this it would be useful to discuss what problem you want to address and how. If I understand you correctly you want to enhance existing Gradle support for Eclipse (http://www.gradle.org/docs/current/userguide/eclipse_plugin.html) to be able to generate project metadata for Gradle based Android projects. It is a nice idea.

I am little bit hesitant to say that I want to see this support as a part of the Gradle distribution (at the moment). I can image adding this to Android tools - this project is open source too and your changes can better align with changes in android plugin itself. Definitely you want to communite with a team that develops these tools to see what is their plan in this area. I suppose you are aware of http://tools.android.com/tech-docs/new-build-system and can start a discussion at their adt-dev - http://groups.google.com/group/adt-dev - mailing list.


(shiketa1999) #3

Thanks for the quick response.

Gradle support for Eclipse (http://www.gradle.org/docs/current/us…) to be able to generate project metadata for Gradle based Android projects. It is a nice idea.

Yes, exactly that is what I meant.

Definitely you want to communite with a team that develops these tools to see what is their plan in this area. I suppose you are aware of http://tools.android.com/tech-docs/ne

I’m aware of the android tools and I looked into the Eclipse ADT plugin around this area.

Looks like AAR format it not supported by the Eclipse ADT plugin at this moment.

https://code.google.com/p/android/issues/detail?id=59183

So I think .aar is not correctly consumed by just generating a .classpath file. As you say consulting adt-dev seems to be better at this moment.

Thanks anyway!