I am trying to create the ensime configuration file on a Lagom 1.4.4 project, using the ensime-sbt plugin. However, when running the ensimeConfig
command on the root of my project, I get this error:
> ensimeConfig [info] ENSIME update.
[info] Resolving com.lightbend.lagom#lagom-reloadable-server_2.12;1.4.4 ...
[info] ENSIME processing lagom-internal-meta-project-service-locator (lagom-internal-meta-project-service-locator)
[error] Missing setting: ensimeScalacTransformer
[trace] Stack trace suppressed: run last my-project/*:ensimeConfig for the full output.
[error] (my-project/*:ensimeConfig) java.lang.IllegalArgumentException
[error] Total time: 56 s, completed Jun 12, 2018 7:37:12 PM
It seems that the project lagom-internal-meta-project-service-locator
is created dynamically by the Lagom plugin on build, as it is located under target/lagom-dynamic-projects. Also, it does not seem to be required for coding. So I thing the best way is to ignore all the projects under the folder target/lagom-dynamic-projects.
How can I ignore all the projects under a folder when running ensimeConfig
?