title: How to configure Ivy's lock strategy in Sbt
body: <p>I need to configure Ivy <a href="http://ant.apache.org/ivy/history/latest-milestone/settings/lock-strategies.html">lock strategy</a> in sbt build.</p>
  
  <p>I tried to place <code>externalIvySettings(baseDirectory(_ / "ivysettings.xml"))</code> in <code>Build.scala</code></p>
  
  <p>ivysettings.xml:</p>
  
  <pre><code>&lt;ivysettings&gt;
    &lt;settings defaultResolver="default"/&gt;
    &lt;include url="${ivy.default.settings.dir}/ivysettings-public.xml"/&gt;
    &lt;include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/&gt;
    &lt;include url="${ivy.default.settings.dir}/ivysettings-local.xml"/&gt;
    &lt;include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/&gt;
    &lt;include url="${ivy.default.settings.dir}/ivysettings-default-chain.xml"/&gt;
    &lt;lock-strategies&gt;no-lock&lt;/lock-strategies&gt;
  &lt;/ivysettings&gt;
  </code></pre>
  
  <p>But in this case sbt cannot resolve dependencies(I suppose because resolvers are shielded by resolvers from ivysettings).</p>
  
  <p>How can I configure lock strategy in <code>Build.scala</code> ?</p>