diff --git a/ivy/src/main/scala/sbt/Ivy.scala b/ivy/src/main/scala/sbt/Ivy.scala index e9ac5a23d..b8540fd68 100644 --- a/ivy/src/main/scala/sbt/Ivy.scala +++ b/ivy/src/main/scala/sbt/Ivy.scala @@ -73,6 +73,7 @@ final class IvySbt(val configuration: IvyConfiguration) { is.setBaseDir(baseDirectory) is.setCircularDependencyStrategy(configuration.updateOptions.circularDependencyLevel.ivyStrategy) CustomPomParser.registerDefault + is.setVariable("alwaysDeleteSourcesAndJavadocJarsOnChangedModuleDescriptor", "true") configuration match { case e: ExternalIvyConfiguration => diff --git a/notes/0.13.10/fix-snapshot-srcs-docs.markdown b/notes/0.13.10/fix-snapshot-srcs-docs.markdown new file mode 100644 index 000000000..ddfb5dbad --- /dev/null +++ b/notes/0.13.10/fix-snapshot-srcs-docs.markdown @@ -0,0 +1,16 @@ + + [@dwijnand]: http://github.com/dwijnand + [#1750]: https://github.com/sbt/sbt/issues/1750 + [sbt/ivy#17]: https://github.com/sbt/ivy/pull/17 + [#2163]: https://github.com/sbt/sbt/pull/2163 + [sbt/ivy#18]: https://github.com/sbt/ivy/pull/18 + [#2186]: https://github.com/sbt/sbt/pull/2186 + +### Fixes with compatibility implications + +### Improvements + +### Bug fixes + +- Fixes `updateClassifiers` downloading updated snapshot sources and docs. + [#1750][]/[sbt/ivy#17][]/[#2163][]/[sbt/ivy#18][]/[#2186][] by [@dwijnand][] diff --git a/project/Dependencies.scala b/project/Dependencies.scala index b67813b55..49d1ab4ad 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -9,7 +9,7 @@ object Dependencies { lazy val scala211 = "2.11.7" lazy val jline = "jline" % "jline" % "2.11" - lazy val ivy = "org.scala-sbt.ivy" % "ivy" % "2.3.0-sbt-d21bcdd997a724338fbb06ecb82453c1431ff6e6" + lazy val ivy = "org.scala-sbt.ivy" % "ivy" % "2.3.0-sbt-d592b1b0f77cf706e882b1b8e0162dee28165fb2" lazy val jsch = "com.jcraft" % "jsch" % "0.1.46" intransitive () lazy val sbinary = "org.scala-tools.sbinary" %% "sbinary" % "0.4.2" lazy val sbtSerialization = "org.scala-sbt" %% "serialization" % "0.1.2"