{"action":"created","issue":{"url":"https://api.github.com/repos/sbt/sbt/issues/2428","repository_url":"https://api.github.com/repos/sbt/sbt","labels_url":"https://api.github.com/repos/sbt/sbt/issues/2428/labels{/name}","comments_url":"https://api.github.com/repos/sbt/sbt/issues/2428/comments","events_url":"https://api.github.com/repos/sbt/sbt/issues/2428/events","html_url":"https://github.com/sbt/sbt/issues/2428","id":129769662,"number":2428,"title":"consoleProject broken in 0.13.10","user":{"login":"cunei","id":686260,"avatar_url":"https://avatars.githubusercontent.com/u/686260?v=3","gravatar_id":"","url":"https://api.github.com/users/cunei","html_url":"https://github.com/cunei","followers_url":"https://api.github.com/users/cunei/followers","following_url":"https://api.github.com/users/cunei/following{/other_user}","gists_url":"https://api.github.com/users/cunei/gists{/gist_id}","starred_url":"https://api.github.com/users/cunei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cunei/subscriptions","organizations_url":"https://api.github.com/users/cunei/orgs","repos_url":"https://api.github.com/users/cunei/repos","events_url":"https://api.github.com/users/cunei/events{/privacy}","received_events_url":"https://api.github.com/users/cunei/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sbt/sbt/labels/Bug","name":"Bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":{"login":"Duhemm","id":1765926,"avatar_url":"https://avatars.githubusercontent.com/u/1765926?v=3","gravatar_id":"","url":"https://api.github.com/users/Duhemm","html_url":"https://github.com/Duhemm","followers_url":"https://api.github.com/users/Duhemm/followers","following_url":"https://api.github.com/users/Duhemm/following{/other_user}","gists_url":"https://api.github.com/users/Duhemm/gists{/gist_id}","starred_url":"https://api.github.com/users/Duhemm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Duhemm/subscriptions","organizations_url":"https://api.github.com/users/Duhemm/orgs","repos_url":"https://api.github.com/users/Duhemm/repos","events_url":"https://api.github.com/users/Duhemm/events{/privacy}","received_events_url":"https://api.github.com/users/Duhemm/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/sbt/sbt/milestones/16","html_url":"https://github.com/sbt/sbt/milestones/0.13.11","labels_url":"https://api.github.com/repos/sbt/sbt/milestones/16/labels","id":1197398,"number":16,"title":"0.13.11","description":"\r\n  [@eed3si9n]: https://github.com/eed3si9n\r\n  [@jsuereth]: https://github.com/jsuereth\r\n  [@dwijnand]: http://github.com/dwijnand\r\n  [@Duhemm]: http://github.com/Duhemm\r\n  [@gkossakowski]: https://github.com/gkossakowski\r\n  [@adriaanm]: https://github.com/adriaanm\r\n  [@jrudolph]: https://github.com/jrudolph\r\n  [@stuhood]: https://github.com/stuhood\r\n  [@pdalpra]: https://github.com/pdalpra\r\n  [@fkorotkov]: http://github.com/fkorotkov\r\n  [@hgiddens]: https://github.com/hgiddens\r\n  [@DavidPerezIngeniero]: https://github.com/DavidPerezIngeniero\r\n  [@romanowski]: https://github.com/romanowski\r\n  [@timcharper]: https://github.com/timcharper\r\n  [@smarter]: https://github.com/smarter\r\n  [@retronym]: https://github.com/retronym\r\n\r\n  [Dotty]: https://github.com/lampepfl/dotty\r\n  [JLine2]: https://github.com/jline/jline2\r\n\r\n  [14]: https://github.com/sbt/ivy/pull/14\r\n  [17]: https://github.com/sbt/ivy/pull/17\r\n  [18]: https://github.com/sbt/ivy/pull/18\r\n\r\n  [1171]: https://github.com/sbt/sbt/issues/1171\r\n  [1514]: https://github.com/sbt/sbt/issues/1514\r\n  [1616]: https://github.com/sbt/sbt/issues/1616\r\n  [1681]: https://github.com/sbt/sbt/issues/1681\r\n  [1750]: https://github.com/sbt/sbt/issues/1750\r\n  [1827]: https://github.com/sbt/sbt/issues/1827\r\n  [1933]: https://github.com/sbt/sbt/issues/1933\r\n  [1967]: https://github.com/sbt/sbt/issues/1967\r\n  [1968]: https://github.com/sbt/sbt/issues/1968\r\n  [2041]: https://github.com/sbt/sbt/issues/2041\r\n  [2071]: https://github.com/sbt/sbt/issues/2071\r\n  [2085]: https://github.com/sbt/sbt/pull/2085\r\n  [2087]: https://github.com/sbt/sbt/issues/2087\r\n  [2091]: https://github.com/sbt/sbt/pull/2091\r\n  [2092]: https://github.com/sbt/sbt/pull/2092\r\n  [2094]: https://github.com/sbt/sbt/pull/2094\r\n  [2095]: https://github.com/sbt/sbt/pull/2095\r\n  [2103]: https://github.com/sbt/sbt/pull/2103\r\n  [2106]: https://github.com/sbt/sbt/pull/2106\r\n  [2107]: https://github.com/sbt/sbt/issues/2107\r\n  [2108]: https://github.com/sbt/sbt/pull/2108\r\n  [2109]: https://github.com/sbt/sbt/issues/2109\r\n  [2112]: https://github.com/sbt/sbt/pull/2112\r\n  [2114]: https://github.com/sbt/sbt/pull/2114\r\n  [2117]: https://github.com/sbt/sbt/pull/2117\r\n  [2118]: https://github.com/sbt/sbt/issues/2118\r\n  [2120]: https://github.com/sbt/sbt/issues/2120\r\n  [2127]: https://github.com/sbt/sbt/pull/2127\r\n  [2137]: https://github.com/sbt/sbt/pull/2137\r\n  [2139]: https://github.com/sbt/sbt/pull/2139\r\n  [2142]: https://github.com/sbt/sbt/pull/2142\r\n  [2151]: https://github.com/sbt/sbt/pull/2151\r\n  [2155]: https://github.com/sbt/sbt/issues/2155\r\n  [2158]: https://github.com/sbt/sbt/pull/2158\r\n  [2160]: https://github.com/sbt/sbt/pull/2160\r\n  [2163]: https://github.com/sbt/sbt/pull/2163\r\n  [2172]: https://github.com/sbt/sbt/pull/2172\r\n  [2173]: https://github.com/sbt/sbt/pull/2173\r\n  [2186]: https://github.com/sbt/sbt/pull/2186\r\n  [2192]: https://github.com/sbt/sbt/pull/2192\r\n  [2197]: https://github.com/sbt/sbt/pull/2197\r\n  [2201]: https://github.com/sbt/sbt/pull/2201\r\n  [2214]: https://github.com/sbt/sbt/pull/2214\r\n  [2217]: https://github.com/sbt/sbt/issues/2217\r\n  [2228]: https://github.com/sbt/sbt/issues/2228\r\n  [2256]: https://github.com/sbt/sbt/issues/2256\r\n  [2258]: https://github.com/sbt/sbt/pull/2258\r\n  [2261]: https://github.com/sbt/sbt/pull/2261\r\n  [2264]: https://github.com/sbt/sbt/issues/2264\r\n  [2266]: https://github.com/sbt/sbt/issues/2266\r\n  [2271]: https://github.com/sbt/sbt/pull/2271\r\n  [2272]: https://github.com/sbt/sbt/pull/2272\r\n  [2285]: https://github.com/sbt/sbt/pull/2285\r\n  [2302]: https://github.com/sbt/sbt/issues/2302\r\n  [2303]: https://github.com/sbt/sbt/pull/2303\r\n  [2311]: https://github.com/sbt/sbt/pull/2311\r\n  [2313]: https://github.com/sbt/sbt/pull/2313\r\n  [2322]: https://github.com/sbt/sbt/pull/2322\r\n  [2324]: https://github.com/sbt/sbt/issues/2324\r\n  [2325]: https://github.com/sbt/sbt/pull/2325\r\n  [2336]: https://github.com/sbt/sbt/issues/2336\r\n  [2343]: https://github.com/sbt/sbt/pull/2343\r\n  [2344]: https://github.com/sbt/sbt/pull/2344\r\n  [2354]: https://github.com/sbt/sbt/pull/2354\r\n  [2399]: https://github.com/sbt/sbt/pull/2399\r\n  [2453]: https://github.com/sbt/sbt/pull/2453\r\n  [2467]: https://github.com/sbt/sbt/pull/2467\r\n  [101]: https://github.com/sbt/sbt-launcher-package/pull/101\r\n  [105]: https://github.com/sbt/sbt-launcher-package/pull/105\r\n\r\n### Fixes with compatibility implications\r\n\r\n- JCenter is now opt-in. A new setting `useJCenter` can be set to `true` to re-include it, as the first external resolver to find library dependencies. [#2217][2217]/[#2467][2467] by [@eed3si9n][@eed3si9n]\r\n- Adds `withInterProjectFirst` to the update option, which is enabled by default. When set to `true`, `inter-project` resolver will be prioritized above all resolvers and Ivy cache. [#1827][1827] by [@eed3si9n][@eed3si9n]\r\n- Fixes update option's `withLatestSnapshots` so it handles modules without an artifact. This flag will be enabled by default.\r\n  [#1514][1514]/[#1616][1616]/[#2313][2313] by [@eed3si9n][@eed3si9n]\r\n- No longer passes `-J<flag>` options to the local Java compiler. [#1968][1968]/[#2272][2272] by [@Duhemm][@Duhemm]\r\n- Fixes auto imports for auto plugins in global configuration files. Because this is *not* source compatible with 0.13.x, the fix is enabled only when `sbt.global.autoimport` flag is `true`. [#2120][2120]/[#2399][2399] by [@timcharper][@timcharper]\r\n\r\n### Improvements\r\n\r\n- Adds configurable compiler bridge. See below.\r\n- Adds initial support for [Dotty][Dotty]. See below\r\n- Adds settings for granular inter-project dependency tracking. See below.\r\n- Scala version used by the build is updated to 2.10.6. [#2311][2311] by [@eed3si9n][@eed3si9n]\r\n- If `publishMavenStyle` is `true`, `update` task warns when it sees intransitive dependencies, which do not translate to Maven. [#2127][2127] by [@jsuereth][@jsuereth]\r\n- Adds `Def.settings`, which facilitates mixing settings with seq of settings. See below.\r\n- sbt Serialization is updated to 0.1.2. [#2117][2117] by [@dwijnand][@dwijnand]\r\n- Hides the stack trace on compilation error in build definition. [#2071][2071]/[#2091][2091] by [@Duhemm][@Duhemm]\r\n- Makes the dummy `Logger.Null` public. [#2094][2094] by [@pdalpra][@pdalpra]\r\n- Uses diagnostic classes to get lines contents in local Java compiler. [#2108][2108]/[#2201][2201] by [@fkorotkov][@fkorotkov]\r\n- Adds logging of javaOptions. [#2087][2087]/[#2103][2103] by [@pdalpra][@pdalpra]\r\n- Warns when javaOptions are defined but fork is set to false. [#2041][2041]/[#2103][2103] by [@pdalpra][@pdalpra]\r\n- Adds an `Append.Sequence` instance for `List` to allow `+=`/`++=` on `developers` setting. [#2107][2107]/[#2114][2114] by [@pdalpra][@pdalpra]\r\n- Drops `sealed` from the typeclasses in `Append`. [#2322][2322] by [@dwijnand][@dwijnand]\r\n- Fixes compilation warnings in sbt's codebase, and other clean ups. [#2112][2112]/[#2137][2137]/[#2139][2139]/[#2142][2142] by [@pdalpra][@pdalpra]\r\n- Adds `localIfFile` to `MavenRepository`, to force artifacts to be copied to the cache. [#2172][2172] by [@dwijnand][@dwijnand]\r\n- Adds `Resolver.bintrayIvyRepo(owner, repo)`. [#2285][2285] by [@dwijnand][@dwijnand]\r\n- Non-static annotation changes are no longer tracked by the incremental compiler. [#2343][2343] by [@romanowski][@romanowski]\r\n- Reduces the memory usage of API info extraction in the incremental compiler. [#2343][2343] by [@adriaanm][@adriaanm]\r\n- Memory-related options can now be overridden individually via the `-J` options. [sbt/sbt-launcher-package#105][105]\r\n\r\n### Bug fixes\r\n\r\n- Fixes the false positive of inconsistent duplicate warnings. [#1933][1933]/[#2258][2258] by\r\n  [@Duhemm][@Duhemm]\r\n- Fixes task scheduling performance on large builds by skipping checks in `sbt.Execute`. [#2302][2302]/[#2303][2303] by [@jrudolph][@jrudolph]\r\n- Fixes changes in value classes by registering signatures of method before and after erasure. [#1171][1171]/[#2261][2261] by [@Duhemm][@Duhemm]\r\n- Updated Ivy to merge IVY-1526 fix. [sbt/ivy#14][14]/[#2118][2118] by [@jsuereth][@jsuereth]\r\n- Fixes `updateClassifiers` downloading updated snapshot sources and docs.\r\n  [#1750][1750]/[sbt/ivy#17][17]/[#2163][2163]/[sbt/ivy#18][18]/[#2186][2186] by [@dwijnand][@dwijnand]\r\n- Fixes `updateClassifiers` on Ivy modules without `default` configuration.\r\n  [#2264][2264] by [@eed3si9n][@eed3si9n]/[@Duhemm][@Duhemm]\r\n- Updated [JLine][JLine2] to version 2.13. [#1681][1681]/[#2173][2173]\r\n- Changing the value of a constant (final-static-primitive) field will now\r\n  correctly trigger incremental compilation for downstream classes. This is to\r\n  account for the fact that Java compilers may inline constant fields in\r\n  downstream classes. [#1967][1967]/[#2085][2085] by [@stuhood][@stuhood]\r\n- Fixes classfile location detection. [#2214][2214] by [@stuhood][@stuhood]\r\n- Fixes a few typos in keys descriptions. [#2092][2092] by [@pdalpra][@pdalpra]\r\n- Avoids the use of `ListBuffer#readOnly`. [#2095][2095] by [@adriaanm][@adriaanm]\r\n- Expands transitive dependency exclusions when using sbt-maven-resolver-plugin [#2109][2109] by [@jsuereth][@jsuereth]\r\n- Fixes incremental compilation of traits by including private members into the API hash. [#2155][2155]/[#2160][2160] by\r\n  [@Duhemm][@Duhemm]\r\n- Fixes name hashing by removing class private members from the hash. [#2324][2324]/[#2325][2325] by [@gkossakowski][@gkossakowski]\r\n- Fixes name hashing error messages. [#2158][2158] by [@stuhood][@stuhood]\r\n- Adds more robustness to `tasks` and `settings` command. [#2192][2192] by [@DavidPerezIngeniero][@DavidPerezIngeniero]\r\n- 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]\r\n- Fixes `JavaErrorParser` to parse non-compile-errors [#2256][2256]/[#2272][2272] by [@Duhemm][@Duhemm]\r\n- Fixes launcher configuration to add `sbt-ivy-snapshots` repository to resolve nightly builds. [@eed3si9n][@eed3si9n]\r\n- Fixes performance issues during tree traversal in the incremental compiler. [#2343][2343] by [@adriaanm][@adriaanm]\r\n- Fixes the tracking of self types and F-bounded existential types in the incremental compiler. [#2343][2343] by [@adriaanm][@adriaanm]\r\n- Avoid CCE when scalac internally uses `compileLate`. [#2453][2453] by [@retronym][@retronym]\r\n- Fixes the memory-related options overriding `SBT_OPTS`. [sbt/sbt-launcher-package#101][101] by [@eed3si9n][@eed3si9n]\r\n\r\n### Configurable Scala compiler bridge\r\n\r\nsbt 0.13.11 adds `scalaCompilerBridgeSource` setting to specify the compiler brigde source. This allows different implementation of the bridge for Scala versions, and also allows future versions of Scala compiler implementation to diverge. The source module will be retrieved using library management configured by `bootIvyConfiguration` task.\r\n\r\n[#2106][2106]/[#2197][2197]/[#2336][2336] by [@Duhemm][@Duhemm]\r\n\r\n### Dotty awareness\r\n\r\nsbt 0.13.11 will assume that Dotty is used when `scalaVersion` starts with `0.`.\r\nThe built-in compiler bridge in sbt does not support Dotty,\r\nbut a separate compiler bridge is being developed at [smarter/dotty-bridge](https://github.com/smarter/dotty-bridge) and\r\nan example project that uses it is available at [smarter/dotty-example-project](https://github.com/smarter/dotty-example-project).\r\n\r\n[#2344][2344] by [@smarter][@smarter]\r\n\r\n### Inter-project dependency tracking\r\n\r\nsbt 0.13.11 adds `trackInternalDependencies` and `exportToInternal` settings. These can be used to control whether to trigger compilation of a dependent subprojects when you call `compile`. Both keys will take one of three values: `TrackLevel.NoTracking`, `TrackLevel.TrackIfMissing`, and `TrackLevel.TrackAlways`. By default they are both set to `TrackLevel.TrackAlways`.\r\n\r\nWhen `trackInternalDependencies` is set to `TrackLevel.TrackIfMissing`, sbt will no longer try to compile internal (inter-project) dependencies automatically, unless there are no `*.class` files (or JAR file when `exportJars` is `true`) in the output directory. When the setting is set to `TrackLevel.NoTracking`, the compilation of internal dependencies will be skipped. Note that the classpath will still be appended, and dependency graph will still show them as dependencies. The motivation is to save the I/O overhead of checking for the changes on a build with many subprojects during development. Here's how to set all subprojects to `TrackIfMissing`.\r\n\r\n    lazy val root = (project in file(\".\")).\r\n      aggregate(....).\r\n      settings(\r\n        inThisBuild(Seq(\r\n          trackInternalDependencies := TrackLevel.TrackIfMissing,\r\n          exportJars := true\r\n        ))\r\n      )\r\n\r\nThe `exportToInternal` setting allows the dependee subprojects to opt out of the internal tracking, which might be useful if you want to track most subprojects except for a few. The intersection of the `trackInternalDependencies` and `exportToInternal` settings will be used to determine the actual track level. Here's an example to opt-out one project:\r\n\r\n    lazy val dontTrackMe = (project in file(\"dontTrackMe\")).\r\n      settings(\r\n        exportToInternal := TrackLevel.NoTracking\r\n      )\r\n\r\n[#2266][2266]/[#2354][2354] by [@eed3si9n][@eed3si9n]\r\n\r\n### Def.settings\r\n\r\nUsing `Def.settings` it is now possible to nicely define settings as such:\r\n\r\n    val modelSettings = Def.settings(\r\n      sharedSettings,\r\n      libraryDependencies += foo\r\n    )\r\n\r\n[#2151][2151] by [@dwijnand][@dwijnand]\r\n\r\n### Notes\r\n\r\nNo changes should be necessary to your project definition and all plugins published for sbt 0.13.{x|x<11} should still work.  Please report any issues you encounter if this is not the case.\r\n\r\nSpecial thanks to the contributors for making this release a success. According to git shortlog -sn --no-merges v0.13.9..v0.13.11, [compared to 0.13.9][3], there were 201 (non-merge) commits, by 19 contributors: Martin Duhem, Eugene Yokota, Dale Wijnand, Stu Hood, Adriaan Moors, Pierre DAL-PRA, Grzegorz Kossakowski, fkorotkov, Josh Suereth, Huw Giddens, Tim Harper, Guillaume Martres, Antonio Cunei, Krzysztof Romanowski, David Perez, Jason Zaugg, Jacek Laskowski, Johannes Rudolph, Jonas Fonseca. Thank you!\r\n","creator":{"login":"eed3si9n","id":184683,"avatar_url":"https://avatars.githubusercontent.com/u/184683?v=3","gravatar_id":"","url":"https://api.github.com/users/eed3si9n","html_url":"https://github.com/eed3si9n","followers_url":"https://api.github.com/users/eed3si9n/followers","following_url":"https://api.github.com/users/eed3si9n/following{/other_user}","gists_url":"https://api.github.com/users/eed3si9n/gists{/gist_id}","starred_url":"https://api.github.com/users/eed3si9n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eed3si9n/subscriptions","organizations_url":"https://api.github.com/users/eed3si9n/orgs","repos_url":"https://api.github.com/users/eed3si9n/repos","events_url":"https://api.github.com/users/eed3si9n/events{/privacy}","received_events_url":"https://api.github.com/users/eed3si9n/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":28,"state":"closed","created_at":"2015-07-07T18:31:11Z","updated_at":"2016-05-02T08:03:09Z","due_on":null,"closed_at":"2016-02-22T15:55:02Z"},"comments":7,"created_at":"2016-01-29T13:43:53Z","updated_at":"2016-05-02T10:53:43Z","closed_at":"2016-05-02T08:03:09Z","body":"```\r\n> consoleProject\r\n[error] (run-main-0) sbt.InvalidComponent: Could not find required component 'compiler-interface-src'\r\n\r\nsbt.InvalidComponent: Could not find required component 'compiler-interface-src'\r\n        at sbt.ComponentManager.invalid(ComponentManager.scala:57)\r\n        at sbt.ComponentManager.sbt$ComponentManager$$notFound$1(ComponentManager.scala:34)\r\n        at sbt.ComponentManager.sbt$ComponentManager$$createAndCache$1(ComponentManager.scala:37)\r\n        at sbt.ComponentManager$$anonfun$sbt$ComponentManager$$fromGlobal$1$1.apply(ComponentManager.scala:27)\r\n        at sbt.ComponentManager$$anonfun$sbt$ComponentManager$$fromGlobal$1$1.apply(ComponentManager.scala:26)\r\n        at sbt.ComponentManager$$anon$1.call(ComponentManager.scala:50)\r\n        at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:45)\r\n        at xsbt.boot.Locks$.apply0(Locks.scala:31)\r\n        at xsbt.boot.Locks$.apply(Locks.scala:28)\r\n```"},"comment":{"url":"https://api.github.com/repos/sbt/sbt/issues/comments/216197819","html_url":"https://github.com/sbt/sbt/issues/2428#issuecomment-216197819","issue_url":"https://api.github.com/repos/sbt/sbt/issues/2428","id":216197819,"user":{"login":"eed3si9n","id":184683,"avatar_url":"https://avatars.githubusercontent.com/u/184683?v=3","gravatar_id":"","url":"https://api.github.com/users/eed3si9n","html_url":"https://github.com/eed3si9n","followers_url":"https://api.github.com/users/eed3si9n/followers","following_url":"https://api.github.com/users/eed3si9n/following{/other_user}","gists_url":"https://api.github.com/users/eed3si9n/gists{/gist_id}","starred_url":"https://api.github.com/users/eed3si9n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eed3si9n/subscriptions","organizations_url":"https://api.github.com/users/eed3si9n/orgs","repos_url":"https://api.github.com/users/eed3si9n/repos","events_url":"https://api.github.com/users/eed3si9n/events{/privacy}","received_events_url":"https://api.github.com/users/eed3si9n/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T10:53:43Z","updated_at":"2016-05-02T10:53:43Z","body":"Actually #2430 was originally targeted to 0.13.x, so it should now be fixed in 0.13.11."}}