Fix configuration order

I added a runtime dependency, but gen-idea generated test scope library.

Runtime scope should be prioritized than Test one.
See: https://github.com/sbt/sbt/blob/v0.12.3/ivy/IvyInterface.scala#L421-L426