I'm working on a plugin for the Android Studio EAP and I was curious about some aspects of the API. For example, Maven has an isMavenModule "org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule". Is there a similar attribute for gradle? How about for Gradle/Android? (I guess, I can always parse the build.gradle files for apply 'Android' but I'm not sure if that is the most robust solution)
Also, is there any way to access Gradle ASTs via any API? IntelliJ has fantastic support for Java code manipulation, and I'd love an equivalent to the "JavaRecursiveElementVisitors" objects in Java.
Any suggestions would be greatly appreciated!