I have the following problem: I need to write a file into a build directory with the content that is defined in the project sbt is going to build.
prj
|
|_src/main/scala/FancyScalaFile.scala
|
|_build.sbt
|
|_project/build.properties
Here is how the FancyScalaFile.scala
looks like
object FancyScalaFile {
def extractString: String() = //...
}
Is there a way to call extractString
from build.sbt
?