Commit Graph

17940 Commits

Author SHA1 Message Date
Eugene Yokota 57b1b5baa9 Remove sbt.syntax 2017-02-08 02:26:50 -05:00
Eugene Yokota b6fc9f9517 Put copyright notice
Fixes #222
2017-02-07 16:49:58 -05:00
eugene yokota fc92bc50f0 Merge pull request #2942 from eed3si9n/topic/generators
[sbt 1.0] Support sourceGenerators += Def.task { ... }
2017-02-06 17:36:08 -05:00
eugene yokota ba28c00a1a Merge branch '1.0.x' into topic/generators 2017-02-06 16:17:21 -05:00
Alexandre Archambault 5559c5ce01 Minor refacto 2017-02-05 15:36:34 +01:00
Alexandre Archambault a6b9c845c2 Rename plugin module to sbt-coursier 2017-02-05 15:36:34 +01:00
Alexandre Archambault 035391f647 Add missing language.implicitConversions imports 2017-02-04 16:36:52 +01:00
Alexandre Archambault d277153777 Annotate all case classes with final 2017-02-04 16:36:52 +01:00
Alexandre Archambault 7194fe7b48 Add missing language.higherKinds imports 2017-02-03 13:45:44 +01:00
Alexandre Archambault 6f577fff0b Merge pull request #428 from alexarchambault/topic/update-readme
Update README
2017-02-03 13:10:15 +01:00
Alexandre Archambault 12a7419636 Merge pull request #426 from alexarchambault/topic/shading
Add shading plugin
2017-02-03 13:09:59 +01:00
Alexandre Archambault 5cdc5902ac Update README 2017-02-01 23:32:06 +01:00
Alexandre Archambault 6a73bbe801 Report changes in README.md to doc/README.md
Changes from https://github.com/alexarchambault/coursier/pull/413
2017-02-01 23:27:56 +01:00
Alexandre Archambault ed03750c23 Switch to scalaz 7.2.8 2017-01-31 16:22:17 +01:00
Alexandre Archambault c61370ac4f Don't cache the whole ~/.ivy2 on Windows CI 2017-01-31 16:22:17 +01:00
Alexandre Archambault 9544b793da Clean-up stuff after scripted test 2017-01-31 16:22:16 +01:00
Alexandre Archambault b65a76136f Switch to sbt-mima 0.1.13, update mima settings
In particular, check compatibility only against current latest version

New issues unearthed after mima plugin version bump
2017-01-31 16:22:16 +01:00
Alexandre Archambault 704811efe9 Bump dependencies 2017-01-31 16:22:16 +01:00
Alexandre Archambault aae1f1e2a7 Clean-up things in build.sbt 2017-01-31 16:22:16 +01:00
Alexandre Archambault ff0e441f43 Set default scala version to 2.12.1
Rather than 2.11.8
2017-01-31 16:22:16 +01:00
Alexandre Archambault e94dbc7e68 Switch to scala 2.12.1 2017-01-31 16:22:16 +01:00
Alexandre Archambault 98a4e6e617 Bump plugin dependencies 2017-01-31 16:22:16 +01:00
Alexandre Archambault 51eb69db28 Add coursier.bat script 2017-01-31 16:14:36 +01:00
Alexandre Archambault 3b102da857 Run sbt-shading tests on CI 2017-01-31 16:14:22 +01:00
Alexandre Archambault 5583efffd0 Move ivy xml generation
In the hope that this might address issues with shading plugin on single core machines
2017-01-31 16:10:35 +01:00
Alexandre Archambault 4b3923d3e5 Add shading plugin 2017-01-31 15:46:49 +01:00
Eugene Yokota 818cee0156 Migrate ComponentManager from librarymanagement
This migrates the `ComponentManager` from librarymanagement, and refactors it to clarify the double caching of the compiler bridge.

The main purpose of this refactoring is to fix sbt/sbt#2539. As it stands, becaue Ivy cache directory is being used as the secondary cache of the compiled compiler bridge, it's annoying to work with the compiler bridge. Instead of using "Ivy cache", the new `ZincComponentManager` accepts `secondaryCacheDir: Option[File]`, which during test defaults to `target/zinc-components`.

Fixes sbt/sbt#2539
2017-01-29 17:56:35 -05:00
eugene yokota 5306e29290 Merge pull request #69 from eed3si9n/fport/2855
[fport] Add build-level keys to the tab completion
2017-01-26 10:31:41 -05:00
Eugene Yokota 6e2f77f852 ProblemFormats 2017-01-25 23:25:24 -05:00
Eugene Yokota 1320c96953 Rename log events 2017-01-25 23:15:31 -05:00
Eugene Yokota f76e3aa2bb use java.util.Optional in Position 2017-01-25 20:58:37 -05:00
Eugene Yokota c985d9cdc0 Switch Scripted tests to used ManagedLogger 2017-01-24 21:13:58 -05:00
Eugene Yokota 51f9f91038 Adds BufferedAppender 2017-01-24 21:13:38 -05:00
Eugene Yokota 56b51df66b Avoid default params 2017-01-24 20:29:35 -05:00
eugene yokota 6b5f0980e8 Merge pull request #2940 from eed3si9n/wip/2706
[fport] Configurable explicit list of artifacts for Scala binary version check
2017-01-24 12:40:02 -05:00
Dale Wijnand 26a8b0816a Merge pull request #2937 from eed3si9n/wip/notuples
Migrate tuple usage in Defaults.scala to 0.13 build.sbt DSL
2017-01-24 17:18:26 +00:00
Eugene Yokota 08e9ce9526 Implement basic event logging 2017-01-23 16:38:14 -05:00
Eugene Yokota 51f7d2e24a Adds an Append instance that extracts taskValue
This adds a macro-level hack to support += op for sourceGenerators and resourceGenerators using RHS of Initialize[Task[Seq[File]]].
When the types match up, the macro now calls `.taskValue` automatically.
2017-01-22 22:53:27 -05:00
eugene yokota b47a0e71a1 Merge pull request #2941 from eed3si9n/wip/2633
Rebase: Add new SBT global setting asciiGraphWidth
2017-01-22 18:49:14 -05:00
Eugene Yokota e2c7f58a14 Uncomment JLine.usingTerminal 2017-01-22 13:13:40 -05:00
Roman Iakovlev e8b951c0d1 Review comments for https://github.com/sbt/sbt/pull/2633 2017-01-22 13:10:34 -05:00
Roman Iakovlev 982a7c8724 Add new SBT global setting asciiGraphWidth
This setting controls the maximum width of the ASCII graphs printed
by commands like `inspect tree`. Default value corresponds to the
previously hardcoded value of 40 characters.
2017-01-22 13:06:20 -05:00
Eugene Yokota 6c4cf28202 Fix dependency-management/scala-organization-version-check
No implicit for Append.Value[Vector[String], String] found
2017-01-22 12:57:16 -05:00
Justin Kaeser cfecf1f6b9 avoid IntelliJ marking valid code as erroneous
relative imports and "println _" cause error highlighting in IntelliJ
2017-01-22 12:01:41 -05:00
Miles Sabin 56e843960b Configurable explicit list of artifacts for Scala binary version check 2017-01-22 11:53:45 -05:00
eugene yokota e250cf51ca Merge pull request #2938 from eed3si9n/wip/2210
[sbt 1.0] Rebased: Improve time measuring capabilities
2017-01-22 11:32:47 -05:00
David Perez 618487eb58 New option sbt.task.timings.omit.paths, to produce even cleaner reports. 2017-01-21 18:48:13 -05:00
David Perez 6ab0bc403a Renamed:
sbt.task.timings.shutdown -> sbt.task.timings.on.shutdown
 sbt.task.timings.divider -> sbt.task.timings.unit
2017-01-21 18:48:13 -05:00
David Perez 4f5c5c92a2 Alignment of reported time measuring data 2017-01-21 18:48:13 -05:00
David Perez 70fa960f56 Improved time logging capabilities 2017-01-21 18:48:13 -05:00