1

For example this project. I see it has Gradle files, but a quick search says Eclipse has a Gradle plugin as well.

https://github.com/sephiroth74/HorizontalVariableListView

CJBS
  • 15,147
  • 6
  • 86
  • 135
Alexandre G
  • 1,655
  • 20
  • 30

3 Answers3

2

The Android build system is built on top of gradle:

https://developer.android.com/tools/building/plugin-for-gradle.html

So that means that just plain gradle is not enough to build an Android project.

As ADT never used gradle and Google has ended Eclipse support, you can be reasonably confident that an Android gradle project was made using Android Studio.

tachyonflux
  • 20,103
  • 7
  • 48
  • 67
  • 1
    according to http://stackoverflow.com/questions/17107014/is-it-possible-to-use-the-gradle-build-system-for-android-with-eclipse, it seems to be possible to use gradle to build the project. – PageNotFound Jul 03 '15 at 03:56
  • 1
    Hm, well that's good to know at least. Seems pretty convoluted tho. – tachyonflux Jul 03 '15 at 04:26
1

Android Studio, which is developed based on IntelliJ. It uses gradle to build the project.

If a project contains .classpath or .project, it should be made by Eclipse. Or it should be made by android studio. A project made by android studio can not be imported into eclipse.

PageNotFound
  • 2,320
  • 2
  • 23
  • 34
1

Gradle is a building tool. It has plugins for Eclipse, IntelliJ, Android Studio and Netbeans. So you won't be able to tell which IDE an Android project is made with from just a gradle file. Some project structures vary, for Eclipse projects and IntelliJ ones, you can find easily differences between them if you are familiar with both. But some are not explicitly, for IntelliJ projects and Android Studio ones.

BTW, do IDEs matter? The App you are building does, I am afraid.

SilentKnight
  • 13,761
  • 19
  • 49
  • 78
  • Hi thanks for your answer. Can you please elaborate on the differences between Eclipse and IntelliJ? Is it just the .classpath & .project as mentioned by PageNotFound? Or more the fact that few people would use Gradle with Eclipse? – Alexandre G Jul 03 '15 at 04:01
  • Talk is cheap. I think you'd better download them and create test project to find out what is the difference of file tree between them. You need to do it by your self. – SilentKnight Jul 03 '15 at 04:51
  • You are right. Will do just that, thanks. btw, you meant **N**etbeans, right? – Alexandre G Jul 03 '15 at 05:15
  • It's NetBeans, sorry about that. – SilentKnight Jul 03 '15 at 05:44