Replace Closure.scala and custom resource gen with sbt-closure plugin.