roboscala / sbt-robovm

An sbt plugin for iOS development in Scala
BSD 2-Clause "Simplified" License
110 stars 16 forks source link

Investigate modernizing approach to sbt plugins #46

Closed Darkyenus closed 9 years ago

Darkyenus commented 9 years ago

(as mentioned on #37)

It it worthwhile to essentialy fake the project types only to insert a few keys? Woudn't it be better to get rid of the whole project system and just supply relevant key settings in Seq[]'s to be added to the build definition, like other projects do?

Also, this plugin has been started a long time ago and the sbt plugin best practices have likely shifted. See if any of the changes are relevant and whether or not they should be implemented.

ajhager commented 9 years ago

I definitely agree about this. I have started rebooting my knowledge about sbt this weekend, to see what the new best practices are. I would love to see your perspective as well.

Darkyenus commented 9 years ago

After reading up on sbt plugin docs, I have modified the sbt-robovm accordingly. The results are here: https://github.com/Darkyenus/sbt-robovm/tree/autoplugin

These are the important changes:

I have also changed the BuildInfo approach a bit, so it allows easier publishing of testing/custom versions with different name (info on that in the README)

Any improvement ideas/thoughts?

ajhager commented 9 years ago

I have been reviewing your changes, and they look great. This definitely simplifies getting setup.