mirror of https://github.com/sbt/sbt.git
show deprecation message for project/plugins/. fixes #272.
This commit is contained in:
parent
8743165d66
commit
b07bd3adaa
|
|
@ -388,6 +388,8 @@ object Load
|
|||
}
|
||||
def loadUnitOld(defDir: File, pluginDir: File, s: State, config: LoadBuildConfiguration): (LoadedPlugins, LoadedDefinitions) =
|
||||
{
|
||||
config.log.warn("Using project/plugins/ is deprecated for plugin configuration (" + pluginDir + ").\n" +
|
||||
"Put .sbt plugin definitions directly in project/,\n .scala plugin definitions in project/project/,\n and remove the project/plugins/ directory.")
|
||||
val plugs = plugins(pluginDir, s, config)
|
||||
val defs = definitionSources(defDir)
|
||||
val target = buildOutputDirectory(defDir, config.compilers)
|
||||
|
|
|
|||
Loading…
Reference in New Issue