JetBrains/sbt-structure — pull request #5 by stanch (2014-06-13 04:10:21+00:00)
Title: Sketch Android support (SCL-6273)

Hi,

I decided to give a little nudge with regards to [my long-standing issue](http://youtrack.jetbrains.com/issue/SCL-6273).

This is still work in progress, to be precise:
* Only [*android-sdk-plugin*](https://github.com/pfn/android-sdk-plugin) is supported (see the discussion in *YouTrack* for motivation).
* The following is added to the `` node (and forces it to be included):

```xml

```
* A new `` node is added if *android-sdk-plugin* is detected. This is just what should go inside the respective facet. I adapted the [code from *sbt-idea*](https://github.com/mpeltonen/sbt-idea/blob/sbt-0.13/src/main/scala/org/sbtidea/android/AndroidSupport.scala).

```xml

false
false

```
Obviously this is not yet picked up by *intellij-scala* or properly tested (but there is a test case).
* Speaking of tests, the current scheme seems to be very unreliable, as the content of `structure / project / build / classes` may vary depending on the global *Sbt* configuration. Not just the entries, but also their order. For example, on my machine `import sbt._, Keys._` goes first, not last.

I would imagine the the separation of *sbt-structure* and *intellij-scala* gives some flexibility in the exchange format. So for example the JDK setting could be included in the `` node, and some extra stuff could be removed.

There are also some tiny changes (`.gitignore`, `README.md`).

Please let me know what you think — this is supposed to be the hard part, as opposed to updating *intellij-scala*.