Commit Graph

11744 Commits

Author SHA1 Message Date
Martin Duhem 517e4d6abe Don't set `publishMavenStyle := true` for compiler interface 2015-07-16 14:02:25 +02:00
Martin Duhem 8ba5b6f90e Don't set `publishMavenStyle := true` for compiler interface 2015-07-16 14:02:25 +02:00
Martin Duhem 3e60e3c4eb Revive comment about sbt's build complications 2015-07-16 13:53:10 +02:00
Martin Duhem f3dc2ba282 Revive comment about sbt's build complications 2015-07-16 13:53:10 +02:00
Martin Duhem c4eb670588 Find most specific version of compiler interface sources
This commit introduces a mechanism that allows sbt to find the most
specific version of the compiler interface sources that exists using
Ivy.

For instance, when asked for a compiler interface for Scala 2.11.8-M2,
sbt will look for sources for:

 - 2.11.8-M2 ;
 - 2.11.8 ;
 - 2.11 ;
 - the default sources.

This commit also modifies the build definition by removing the
precompiled projects and configuring the compiler-interface project so
that it publishes its source artifacts in a Maven-friendly format.
2015-07-16 11:18:48 +02:00
Martin Duhem 3eef2d66b5 Find most specific version of compiler interface sources
This commit introduces a mechanism that allows sbt to find the most
specific version of the compiler interface sources that exists using
Ivy.

For instance, when asked for a compiler interface for Scala 2.11.8-M2,
sbt will look for sources for:

 - 2.11.8-M2 ;
 - 2.11.8 ;
 - 2.11 ;
 - the default sources.

This commit also modifies the build definition by removing the
precompiled projects and configuring the compiler-interface project so
that it publishes its source artifacts in a Maven-friendly format.
2015-07-16 11:18:48 +02:00
Martin Duhem 90a8423d8e Find most specific version of compiler interface sources
This commit introduces a mechanism that allows sbt to find the most
specific version of the compiler interface sources that exists using
Ivy.

For instance, when asked for a compiler interface for Scala 2.11.8-M2,
sbt will look for sources for:

 - 2.11.8-M2 ;
 - 2.11.8 ;
 - 2.11 ;
 - the default sources.

This commit also modifies the build definition by removing the
precompiled projects and configuring the compiler-interface project so
that it publishes its source artifacts in a Maven-friendly format.
2015-07-16 11:18:48 +02:00
Josh Suereth 0ff2e8fac7 Merge pull request #2085 from twitter-forks/stuhood/java-static-final-fields-as-singletons
Encode static-final constant fields as Singletons
2015-07-14 12:35:56 -04:00
Josh Suereth 4abc8386f2 Merge pull request #2085 from twitter-forks/stuhood/java-static-final-fields-as-singletons
Encode static-final constant fields as Singletons
2015-07-14 12:35:56 -04:00
Stu Hood e3ba86fdbb Add notes for the change 2015-07-13 21:38:48 -07:00
Stu Hood 7e7aca5f55 Mismatch APIs on type changes as well 2015-07-13 21:29:14 -07:00
Josh Suereth d238e1edc7 Merge pull request #2102 from pdalpra/remove-public-java-interfaces
Remove redundant public modifier in Java interfaces
2015-07-12 10:31:12 -04:00
Josh Suereth 4d83cd5134 Merge pull request #2102 from pdalpra/remove-public-java-interfaces
Remove redundant public modifier in Java interfaces
2015-07-12 10:31:12 -04:00
Pierre DAL-PRA 5d4e91d644 Remove redundant public modifier in Java interfaces 2015-07-11 00:11:17 +02:00
Pierre DAL-PRA ec0ffad345 Remove redundant public modifier in Java interfaces 2015-07-11 00:11:17 +02:00
eugene yokota 53bca7513a Merge pull request #2101 from sbt/0.13.9
merge 0.13.9 on 0.13
2015-07-10 16:07:05 -04:00
eugene yokota 67d908a4a6 Merge pull request #2101 from sbt/0.13.9
merge 0.13.9 on 0.13
2015-07-10 16:07:05 -04:00
Josh Suereth 5c6e055917 Merge pull request #2097 from sbt/wip/2046
Fixes #2046. Cached resolution: Fixes double eviction
2015-07-10 15:24:41 -04:00
Josh Suereth 9b714151ec Merge pull request #2097 from sbt/wip/2046
Fixes #2046. Cached resolution: Fixes double eviction
2015-07-10 15:24:41 -04:00
Josh Suereth a224218f3b Merge pull request #2098 from pdalpra/fix-build-warnings
Fix most SBT's build warnings
2015-07-10 14:21:53 -04:00
Josh Suereth 90cfcb4543 Merge pull request #2098 from pdalpra/fix-build-warnings
Fix most SBT's build warnings
2015-07-10 14:21:53 -04:00
Josh Suereth 5f24a5ac0e Merge pull request #2094 from pdalpra/public-null-logger
Make Logger.null public + minor clean up
2015-07-10 12:48:46 -04:00
Josh Suereth 0e861c9867 Merge pull request #2094 from pdalpra/public-null-logger
Make Logger.null public + minor clean up
2015-07-10 12:48:46 -04:00
Josh Suereth 5395c8bef5 Merge pull request #2095 from adriaanm/ListBuffer
Do not use `ListBuffer#readOnly`
2015-07-10 12:47:34 -04:00
Josh Suereth b52f11535d Merge pull request #2095 from adriaanm/ListBuffer
Do not use `ListBuffer#readOnly`
2015-07-10 12:47:34 -04:00
Eugene Yokota 0b718bb3fa notes 2015-07-10 11:40:38 -04:00
Eugene Yokota fdf8ee5146 Back out 98d81a62f9 2015-07-10 11:16:19 -04:00
Pierre DAL-PRA 8f849ce2bd Fix most build warnings 2015-07-10 11:53:48 +02:00
Pierre DAL-PRA 3ffa333c14 Fix most build warnings 2015-07-10 11:53:48 +02:00
Stu Hood a80c3e2bb8 Review feedback 2015-07-09 22:01:05 -07:00
Eugene Yokota 22c743cf8a #1763 fix by removing one but all artificial callers 2015-07-10 00:10:23 -04:00
Eugene Yokota 98d81a62f9 Switch to serialization for UpdateReport cache 2015-07-09 21:23:31 -04:00
Eugene Yokota 351a7dae1d Ref #2068. Scala version bump needs to accompany scala-reflect bump. 2015-07-09 21:20:47 -04:00
Eugene Yokota 8cde12887e Ref #2068. Scala version bump needs to accompany scala-reflect bump. 2015-07-09 21:20:47 -04:00
Eugene Yokota 5412376d4b #1763 Remove artificial callers 2015-07-09 21:17:47 -04:00
Adriaan Moors 352afdb539 Do not use `ListBuffer#readOnly`
It's dangerous, deprecated, and was removed in 2.12.0-M1.
See https://github.com/scala/scala/pull/4140.

`ListBuffer#toList` has equivalent performance,
except it actually returns an immutable copy(-on-write).
2015-07-09 14:49:08 -07:00
Adriaan Moors a355012c2e Do not use `ListBuffer#readOnly`
It's dangerous, deprecated, and was removed in 2.12.0-M1.
See https://github.com/scala/scala/pull/4140.

`ListBuffer#toList` has equivalent performance,
except it actually returns an immutable copy(-on-write).
2015-07-09 14:49:08 -07:00
Pierre DAL-PRA ea0abefac9 Add notes 2015-07-09 23:45:01 +02:00
Pierre DAL-PRA 49a8183a8d Minor clean up 2015-07-09 22:59:05 +02:00
Pierre DAL-PRA 4e9626eb68 Minor clean up 2015-07-09 22:59:05 +02:00
Pierre DAL-PRA 91a441b8f8 Make Logger.Null public 2015-07-09 22:58:47 +02:00
Pierre DAL-PRA 771f08cb61 Make Logger.Null public 2015-07-09 22:58:47 +02:00
Eugene Yokota 2994622ad4 Fixes #2046, Ref #1760 Fix minigraph stitching
This fixes the minigraph stitching logic by first sorting the graph
based on the level of inter-dependencies, and gradually resolving
conflict from the root-side that are not called by other libraries.
For each eviction, transitive evictions are propagated right away to
avoid double eviction observed in #2046

For the transitive eviction checking I needed to bring back the caller
information, which is notorious for its size. I am stuffing all
ModuleIDs into one ModuleID for the graph, and recovering them only
during the merging process.
2015-07-09 15:57:21 -04:00
Josh Suereth d2fdfb81a0 Merge pull request #2091 from Duhemm/hide-stacktrace
Don't show the stack trace on compilation error in build definition
2015-07-09 14:26:03 -04:00
Josh Suereth 62679b21a3 Merge pull request #2092 from pdalpra/keys-typos
Fix a few typos in keys descriptions
2015-07-09 14:24:08 -04:00
Pierre DAL-PRA cf72c7cc0e Fix a few typos in keys descriptions 2015-07-09 17:00:48 +02:00
Martin Duhem 6c123f22ba Hide stacktrace on compilation error in build definition 2015-07-09 11:40:02 +02:00
Eugene Yokota 5256e64263 Reproduce #2046 2015-07-09 01:52:00 -04:00
Johannes Rudolph aebf329d8c Clarify use. Fixes #75. 2015-07-08 09:05:56 +02:00
Stu Hood aa11e9ca87 Improve comments 2015-07-07 10:56:51 -07:00