sbt/notes/0.13.10.markdown

125 lines
7.0 KiB
Markdown
Raw Normal View History

2015-12-14 23:19:15 +01:00
[@eed3si9n]: https://github.com/eed3si9n
[@jsuereth]: https://github.com/jsuereth
[@dwijnand]: http://github.com/dwijnand
[@Duhemm]: http://github.com/Duhemm
[@gkossakowski]: https://github.com/gkossakowski
[@adriaanm]: https://github.com/adriaanm
2015-12-14 23:19:15 +01:00
[@jrudolph]: https://github.com/jrudolph
[@stuhood]: https://github.com/stuhood
[@pdalpra]: https://github.com/pdalpra
[@fkorotkov]: http://github.com/fkorotkov
[@hgiddens]: https://github.com/hgiddens
[@DavidPerezIngeniero]: https://github.com/DavidPerezIngeniero
2015-12-14 23:19:15 +01:00
[2302]: https://github.com/sbt/sbt/issues/2302
[2303]: https://github.com/sbt/sbt/pull/2303
[1967]: https://github.com/sbt/sbt/issues/1967
[2085]: https://github.com/sbt/sbt/pull/2085
[2071]: https://github.com/sbt/sbt/issues/2071
[2091]: https://github.com/sbt/sbt/pull/2091
[2092]: https://github.com/sbt/sbt/pull/2092
[2095]: https://github.com/sbt/sbt/pull/2095
[2094]: https://github.com/sbt/sbt/pull/2094
[2112]: https://github.com/sbt/sbt/pull/2112
[2108]: https://github.com/sbt/sbt/pull/2108
[2106]: https://github.com/sbt/sbt/pull/2106
[2041]: https://github.com/sbt/sbt/issues/2041
[2087]: https://github.com/sbt/sbt/issues/2087
[2103]: https://github.com/sbt/sbt/pull/2103
[2107]: https://github.com/sbt/sbt/issues/2107
[2114]: https://github.com/sbt/sbt/pull/2114
[2117]: https://github.com/sbt/sbt/pull/2117
[2109]: https://github.com/sbt/sbt/issues/2109
[2127]: https://github.com/sbt/sbt/pull/2127
[14]: https://github.com/sbt/ivy/pull/14
[2118]: https://github.com/sbt/sbt/issues/2118
[2137]: https://github.com/sbt/sbt/pull/2137
[2139]: https://github.com/sbt/sbt/pull/2139
[2142]: https://github.com/sbt/sbt/pull/2142
[2155]: https://github.com/sbt/sbt/issues/2155
[2160]: https://github.com/sbt/sbt/pull/2160
[2158]: https://github.com/sbt/sbt/pull/2158
[1681]: https://github.com/sbt/sbt/issues/1681
[2173]: https://github.com/sbt/sbt/pull/2173
[JLine2]: https://github.com/jline/jline2
[2151]: https://github.com/sbt/sbt/pull/2151
[1750]: https://github.com/sbt/sbt/issues/1750
[17]: https://github.com/sbt/ivy/pull/17
[2163]: https://github.com/sbt/sbt/pull/2163
[18]: https://github.com/sbt/ivy/pull/18
[2186]: https://github.com/sbt/sbt/pull/2186
[2197]: https://github.com/sbt/sbt/pull/2197
[2192]: https://github.com/sbt/sbt/pull/2192
[2201]: https://github.com/sbt/sbt/pull/2201
[2214]: https://github.com/sbt/sbt/pull/2214
[1933]: https://github.com/sbt/sbt/issues/1933
[2258]: https://github.com/sbt/sbt/pull/2258
[2228]: https://github.com/sbt/sbt/issues/2228
[2271]: https://github.com/sbt/sbt/pull/2271
[2285]: https://github.com/sbt/sbt/pull/2285
[2256]: https://github.com/sbt/sbt/issues/2256
[2272]: https://github.com/sbt/sbt/pull/2272
[1968]: https://github.com/sbt/sbt/issues/1968
[2264]: https://github.com/sbt/sbt/issues/2264
[2172]: https://github.com/sbt/sbt/pull/2172
[2217]: https://github.com/sbt/sbt/issues/2217
2015-12-14 23:19:15 +01:00
### Fixes with compatibility implications
- sbt 0.13.10 adds a new setting `useJCenter`, which is set to `false` by default. When set to `true`, JCenter will be placed as the first external resolver to find library dependencies. [#2217][2217] by [@eed3si9n][@eed3si9n]
- sbt will no longer pass `-J<flag>` options to the local Java compiler. [#1968][1968]/[#2272][2272] by [@Duhemm][@Duhemm]
2015-12-14 23:19:15 +01:00
### Improvements
- Scala version used by the build is updated to 2.10.6. [#2311][2311] by [@eed3si9n][@eed3si9n]
- `makePom` warns when it sees intransitive dependencies, which do not translate to Maven. [#2127][2127] by [@jsuereth][@jsuereth]
- Adds `Def.settings`, which facilitates mixing settings with seq of settings. See below.
- sbt Serialization is updated to 0.1.2. [2117][#2117] by [@dwijnand][@dwijnand]
- Hides the stack trace on compilation error in build definition. [#2071][2071]/[#2091][2091] by [@Duhemm][@Duhemm]
- Makes the dummy `Logger.Null` public. [#2094][2094] by [@pdalpra][@pdalpra]
- Uses diagnostic classes to get lines contents in local Java compiler. [#2108][2108]/[#2201][2201] by [@fkorotkov][@fkorotkov]
- Logs javaOptions used when forking. [#2087][2087]/[#2103][2103] by [@pdalpra][@pdalpra]
- Warns when javaOptions are defined but fork is set to false. [#2041][2041]/[#2103][2103] by [@pdalpra][@pdalpra]
- Adds an `Append.Sequence` instance for `List` to allow `+=`/`++=` on `developers` setting. [#2107][2107]/[#2114][2114] by [@pdalpra][@pdalpra]
- Fixes warnings, and other clean ups. [#2112][2112]/[#2137][2137]/[#2139][2139]/[#2142][2142] by [@pdalpra][@pdalpra]
- Adds `scalaCompilerBridgeSource` setting to specify the compiler brigde, and uses Ivy to retrieve it. [#2106][2106]/[#2197][2197] by [@Duhemm][@Duhemm]
- Adds `localIfFile` to `MavenRepository`, to force artifacts to be copied to the cache. [#2172][2172] by [@dwijnand][@dwijnand]
- Adds `Resolver.bintrayIvyRepo(owner, repo)`. [#2285][2285] by [@dwijnand][@dwijnand]
2015-12-14 23:19:15 +01:00
### Bug fixes
- Fixes the false positive of inconsistent duplicate warnings. [#1933][1933]/[#2258][2258] by
[@Duhemm][@Duhemm]
- Updated Ivy to merge IVY-1526 fix. [sbt/ivy#14][14]/[#2118][2118] by [@jsuereth][@jsuereth]
- Fixes `updateClassifiers` downloading updated snapshot sources and docs.
[#1750][1750]/[sbt/ivy#17][17]/[#2163][2163]/[sbt/ivy#18][18]/[#2186][2186] by [@dwijnand][@dwijnand]
- Fixes `updateClassifiers` on Ivy modules without `default` configuration.
[#2264][2264] by [@eed3si9n][@eed3si9n]/[@Duhemm][@Duhemm]
- Updated [JLine][JLine2] to version 2.13. [#1681][1681]/[#2173][2173]
- Changing the value of a constant (final-static-primitive) field will now
correctly trigger incremental compilation for downstream classes. This is to
account for the fact that Java compilers may inline constant fields in
downstream classes. [#1967][1967]/[#2085][2085] by [@stuhood][@stuhood]
- Fixes classfile location detection. [#2214][2214] by [@stuhood][@stuhood]
- Fixes a few typos in keys descriptions. [#2092][2092] by [@pdalpra][@pdalpra]
- Avoids the use of `ListBuffer#readOnly`. [#2095][2095] by [@adriaanm][@adriaanm]
- Expands transitive dependency exclusions when using sbt-maven-resolver-plugin [#2109][2109] by [@jsuereth][@jsuereth]
- Fixes incremental compilation of traits by including private members into the API hash. [#2155][2155]/[#2160][2160]
- Fixes name hashing error messages. [#2158][2158] by [@stuhood][@stuhood]
- Adds more robustness to `tasks` and `settings` command. [#2192][2192] by [@DavidPerezIngeniero][@DavidPerezIngeniero]
- Fixes Java compilation inconsistencies between sbt and `javac` by always failing if the local Java compiler reported errors. [#2228][2228]/[#2271][2271] by [@Duhemm][@Duhemm]
- Fixes `JavaErrorParser` to parse non-compile-errors [#2256][2256]/[#2272][2272] by [@Duhemm][@Duhemm]
2015-12-14 23:19:15 +01:00
- Fixes task scheduling performance on large builds by skipping checks in `sbt.Execute`. [#2302][2302]/[#2303][2303] by [@jrudolph][@jrudolph]
### Def.settings
Using `Def.settings` it is now possible to nicely define settings as such:
val modelSettings = Def.settings(
sharedSettings,
libraryDependencies += foo
)
[#2151][2151] by [@dwijnand][@dwijnand].