sbt, the interactive build tool
Go to file
Guillaume Martres 726b5c8a30 ExtractAPI: avoid unnecessary duplication of defs with primitive types
If a method's type contains a non-primitive value class then it has two
signatures: one before erasure and one after erasure. Before this
commit, we checked if this was the case using `isAnyValSubtype`, but
this is too crude since primitive value classes are also subtypes of
`AnyVal` but do not change signature after erasure.

This commit replaces `isAnyValSubtype` by `isDerivedValueClass` which
excludes primitive value classes.

In practice, for an empty class, this reduces the size of the output of
`DefaultShowAPI` from 65 lines to 25 lines.
Before:
https://gist.github.com/smarter/cf1d6fe58efda88d6ee6#file-old-api
After:
https://gist.github.com/smarter/cf1d6fe58efda88d6ee6#file-new-api
2016-01-25 02:53:52 +01:00
cache Fix additional warnings 2015-08-07 00:23:14 +02:00
compile ExtractAPI: avoid unnecessary duplication of defs with primitive types 2016-01-25 02:53:52 +01:00
interface `AbstractLazy`'s `writeObject` is `protected` 2015-12-21 22:19:30 -08:00
ivy Adds CompatibilityWarningOptions. Fixes #2347 2016-01-22 01:39:00 -05:00
launch Include sbt-ivy-snapshots to launchconfig 2015-12-29 19:48:57 -05:00
licenses move remaining pieces of sbt subproject to sbt_pending and fix notices 2010-09-21 21:55:50 -04:00
main Adds CompatibilityWarningOptions. Fixes #2347 2016-01-22 01:39:00 -05:00
notes Notes: Collapse an improvement into its fix 2016-01-22 23:19:03 +00:00
project Upgrade sbt plugins. Fixes #2368 2016-01-16 00:24:05 +00:00
run Fix additional warnings 2015-08-07 00:23:14 +02:00
sbt Always invalidate API when return type is a value class 2016-01-25 02:53:34 +01:00
sbt-maven-resolver/src Add handling for transitive exclude rules in pom.xml files. 2015-07-23 15:32:27 -04:00
scripted Continue to run tests after passing pending test 2015-08-19 08:26:21 +02:00
src/main/conscript Include sbt-ivy-snapshots to launchconfig 2015-12-29 19:48:57 -05:00
tasks Fixes #2302. Don't check pre and post conditions in sbt.Execute by default. 2015-12-07 22:14:55 +01:00
testing Replace procedure syntax by explicit Unit annotation 2015-08-04 10:07:38 +02:00
util Make sbt aware of Dotty 2016-01-03 20:35:29 +01:00
.gitattributes Added .gitattributes file. 2013-04-25 00:06:51 +08:00
.gitignore support defining Projects in .sbt files 2012-12-09 20:40:41 -05:00
.travis.yml Run unit tests from compileInterface on Travis CI. 2016-01-08 21:53:53 +01:00
CONTRIBUTING.md add notes on running tests 2016-01-18 15:02:23 -07:00
LICENSE Update CONTRIBUTING.md 2014-04-14 12:16:06 -04:00
NOTICE Update CONTRIBUTING.md 2014-04-14 12:16:06 -04:00
README.md Fix intended formatting in README. 2015-05-27 07:33:26 +01:00
api.specification Macro def aware recompilation. 2012-03-04 17:35:51 +01:00
build.sbt Run unit tests from compileInterface on Travis CI. 2016-01-08 21:53:53 +01:00
scripted.specification New scripted test framework 2009-11-09 09:34:52 -05:00

README.md

sbt

sbt is a build tool for Scala, Java, and more.

For general documentation, see http://www.scala-sbt.org/.

Issues and Pull Requests

Please read CONTRIBUTING carefully before opening a GitHub Issue.

The short version: try StackOverflow and sbt-dev. Don't open an Issue.

sbt 0.13

This is the 0.13.x series of sbt.

  • Setup: Describes getting started with the latest binary release.
  • FAQ: Explains how to get help and more.
  • Google Code: hosts sbt 0.7.7 and earlier versions

license

See LICENSE.