Commit Graph

63 Commits

Author SHA1 Message Date
Alexandre Archambault 2fbe57da7a Add support for dependencyOverrides in SBT plugin 2016-03-14 16:20:47 +01:00
Alexandre Archambault 3cc88c5606 Adjust verbosity and cache policies settings in SBT plugin
- Set default verbosity level to 0
- Use the same cache policies as the CLI app everywhere (local-only, then fetch-missing)
- Allow to manually override these via the environment (COURSIER_VERBOSITY and COURSIER_MODE), or Java properties (coursier.verbosity and coursier.mode)
2016-03-14 16:20:21 +01:00
Alexandre Archambault 68dbe4d122 Set default verbosity level to 0 in SBT plugin 2016-03-14 16:20:21 +01:00
Alexandre Archambault 9cc95c0433 Add project metadata and repositories in resolution cache in SBT plugin
Fixes some publish or publishSigned commands failing, for some
modules having the same dependencies as others (thus previously the same
cache key, so no resolution was done and no Ivy file was generated,
which made the publish or publishSigned command complains).
2016-03-06 19:39:15 +01:00
Alexandre Archambault a2364ca0c5 Add support for custom URL protocols 2016-03-06 14:45:58 +01:00
Alexandre Archambault a7a34320df Cache now only designated by a simple directory 2016-03-06 14:45:57 +01:00
Alexandre Archambault b9895ce801 Add support for packaging attribute in POMs 2016-02-28 17:00:12 +01:00
Alexandre Archambault 10400ec8c5 Force versions of the usual org.scala-lang modules 2016-02-24 20:22:29 +01:00
Alexandre Archambault 1f1067b483 Add support for sbt.override.build.repos flag
Fixes https://github.com/alexarchambault/coursier/issues/134
2016-02-23 20:15:24 +01:00
Alexandre Archambault 117e469ed9 Allow to disable progress bar display with the COURSIER_NO_TERM
environment variable by default

COURSIER_NO_TERM just has to be non-empty.
2016-02-22 23:01:22 +01:00
Erik LaBianca 915903faf5 Add support for maven file: repositories 2016-02-22 11:56:15 -05:00
Alexandre Archambault ec52cb5b3e More compact publications in generated ivy.xml 2016-02-20 15:56:33 +01:00
Alexandre Archambault 6830bc14cf Handle extra SBT artifacts 2016-02-20 15:56:33 +01:00
Alexandre Archambault 796a428ca6 Better handling of info attributes
- Drop them from dependencies originating from Ivy metadata if asked to do so (dropInfoAttributes field of IvyRepository)
- Enable dropping them by default on ~/.ivy2/{cache,local}, and Ivy repositories in SBT plugin
- Add --drop-info-attr CLI option to enable dropping them from the command-line tools
- Test these with org.scala-js:sbt-scalajs;sbtVersion=0.13;scalaVersion=2.10:0.6.6
2016-02-04 15:03:42 +01:00
Alexandre Archambault 061dbe2f91 Slightly different indentation in output 2016-01-26 18:14:20 +01:00
Alexandre Archambault c476b08f32 Add support for Ivy repositories with different artifact / metadata
patterns
2016-01-14 00:42:10 +01:00
Alexandre Archambault f655b432e0 Minor fix 2016-01-13 13:32:46 +01:00
Alexandre Archambault 9a61d7bbbf Better output of plugin 2016-01-10 21:32:28 +01:00
Alexandre Archambault 5d13c46b4b Add excludes in Ivy XML generated by plugin
(These are used by the  publish  task)
2016-01-05 21:08:33 +01:00
Alexandre Archambault 3fd060a75a Add support for intransitive dependencies 2016-01-03 19:36:21 +01:00
Alexandre Archambault 29e3cf8f81 Rename apply method of Fetch to from 2016-01-03 16:39:30 +01:00
Alexandre Archambault da843046df Unify global caches (defaults to ~/.coursier/cache/v1) 2016-01-03 16:39:30 +01:00
Alexandre Archambault ca74648082 Fix minor glitch 2016-01-02 15:51:35 +01:00
Alexandre Archambault c37018b622 Fix for ~/.ivy2/local from plugin on Windows 2016-01-02 14:06:16 +01:00
Alexandre Archambault c481217f77 Have the plugin module be compiled by default too
It shouldn't be viewed as a plugin, nor should it be published, in 2.11.
2015-12-31 01:30:00 +01:00
Alexandre Archambault 8540ba3078 No need to supply pseudo-artifacts for sub-projects 2015-12-30 01:34:32 +01:00
Alexandre Archambault 139525355a Better terminal output 2015-12-30 01:34:32 +01:00
Alexandre Archambault 65a0c4ae55 Print minimized dependencies in plugin output 2015-12-30 01:34:32 +01:00
Alexandre Archambault 357c3fa0f7 Fix parsing of dependencies config mapping of Ivy files 2015-12-30 01:34:32 +01:00
Alexandre Archambault 403b3ddf7d Fix
Required to compile the  readme  module of Ammonite

Surprised that this one wasn't caught earlier
2015-12-30 01:34:32 +01:00
Alexandre Archambault 76e989d21c Better properties substitution (#2) 2015-12-30 01:34:32 +01:00
Alexandre Archambault aa9a43b483 More for extra attributes from POM (#2) 2015-12-30 01:34:32 +01:00
Alexandre Archambault 0d5ac09aa1 More for extra attributes from POM 2015-12-30 01:34:32 +01:00
Alexandre Archambault 1a51200ec5 More verbose plugin output 2015-12-30 01:34:32 +01:00
Alexandre Archambault 138d565187 Write Ivy related files in resolution cache for publish to be fine 2015-12-30 01:34:32 +01:00
Alexandre Archambault d33ab9da26 Output better `sbt.ModuleReport`s 2015-12-30 01:34:32 +01:00
Alexandre Archambault ebd97b8340 Move TermDisplay to cache module, remove dependency of plugin towards cli 2015-12-30 01:34:32 +01:00
Alexandre Archambault cedc424ecb Cache resolutions in plugin 2015-12-30 01:34:32 +01:00
Alexandre Archambault dd4dbb41f9 Better names / comments 2015-12-30 01:34:32 +01:00
Alexandre Archambault d47e6b074a Less redundant dependencies in output 2015-12-30 01:34:32 +01:00
Alexandre Archambault 02a0ed5866 Disable checksum verifying for artifacts by default in SBT plugin 2015-12-30 01:34:32 +01:00
Alexandre Archambault dbe2b801ac Better handling of repositories in updateSbtClassifiers task 2015-12-30 01:34:32 +01:00
Alexandre Archambault 9f26ed05b2 Rename Files to Cache 2015-12-30 01:34:32 +01:00
Alexandre Archambault 064f495114 Remove Files case class 2015-12-30 01:34:32 +01:00
Alexandre Archambault 41ba3c6c75 Trim configuration names from mappings
cats (as of 213aab0) does that :-|
2015-12-30 01:34:32 +01:00
Alexandre Archambault f9a2ca5329 Filter out info properties
Should be done by the extraDependencyAttributes method of Module in SBT, but it looks like it's buggy here (it doesn't take the "e:" prefix into account)
2015-12-30 01:34:32 +01:00
Alexandre Archambault e9e034f817 Clean-up 2015-12-30 01:34:32 +01:00
Alexandre Archambault d1e502b8f3 Move things around 2015-12-30 01:34:32 +01:00
Alexandre Archambault 9bab2d9178 Move thing around, add support for updateSbtClassifiers 2015-12-30 01:34:32 +01:00
Alexandre Archambault 24f8c430a4 Don't check MD5 sums 2015-12-30 01:34:32 +01:00