Ah good point. Incidentally I use sbt-idea 1.5.2 and it works with this change, but I agree other plugins might stop working.
Given this class is only instantiated once (so it's not perf critical), I'll choose the 2nd approach, the 1st one feels too painful.