注释处理器输出路径sbt?

Chr*_*itt 2 sbt

有没有办法在sbt中设置注释处理器输出路径?

目前它生成的文件为:

target/scala-2.11/classes

不过我更愿意

target/scala-2.11/src_managed

pfn*_*pfn 5

就像是

// in build.sbt:

// create managed source directory before compile
compile in Compile <<= (compile in Compile) dependsOn Def.task { (managedSourceDirectories in Compile).value.head.mkdirs() },

// tell the java compiler to output generated source files to the managed source directory
javacOptions in Compile ++= Seq("-s", (managedSourceDirectories in Compile).value.head.getAbsolutePath),
Run Code Online (Sandbox Code Playgroud)