sbt的idea插件配置

使用sbt的目录结构,要想在idea下进行开发,需要用sbt-idea插件生产idea的工程文件,可以使用https://github.com/mpeltonen/sbt-idea中的插件。

使用中说:

Add the following lines to ~/.sbt/plugins/build.sbt or PROJECT_DIR/project/plugins.sbt

但是现在sbt最新版是0.13,用了之后发现如下错误:

[warn] The global sbt directory is now versioned and is located at /home/ly/.sbt/0.13.

[warn]   You are seeing this warning because there is global configuration in /home/ly/.sbt but not in /home/ly/.sbt/0.13.

[warn]   The global sbt directory may be changed via the sbt.global.base system property.

需要将plugins目录放置在~/.sbt/0.13/plugins才有效

你可能感兴趣的:(sbt,idea)