Commit Graph

148 Commits

Author SHA1 Message Date
soc 1871610751 Introduce support for OS-specific standard cache directories (#676)
This cleans up the home directories of users and helps making sure that
Coursier's cache is not accidentically backed up by applications or OS
functionality.

The precedence is as follows:

- existing $COURSIER_CACHE environment variable
- existing coursier.cache Java property
- existing operating system specific standards:
  - Linux:   $XDG_CACHE_HOME/coursier, with fallback to ~/.cache/coursier
  - Windows: {SpecialFolder.LocalApplicationData}/cache/Coursier
  - macOS:   $HOME/Library/Caches/Coursier
- existing ~/.coursier/
- fallback to operating system specific standard directory else.

See discussion in https://github.com/coursier/coursier/pull/676#issuecomment-338974822
2017-10-27 14:35:01 +02:00
Alexandre Archambault 34cce59b65 Minor tweaks 2017-10-26 01:36:55 +02:00
Alexandre Archambault ce2a01af40 Bump plugins 2017-10-21 01:53:25 +02:00
Alexandre Archambault 8f988d4d08 Prevent tags to be split in generated Ivy XML 2017-08-30 01:26:46 +02:00
Alexandre Archambault b91031034c Use custom published scala-native stuff 2017-07-11 20:36:00 +02:00
Alexandre Archambault 3271d90b26 Use custom published version of jarjar 2017-07-11 19:11:18 +02:00
Alexandre Archambault 7d69815f64 Allow to generate native bootstraps 2017-07-08 14:32:16 +02:00
Alexandre Archambault e33787e916 Update sbt-launcher, add sbt-coursier by default 2017-06-24 15:57:04 +02:00
Alexandre Archambault 208f18f518 More careful handling of the bootstrap.jar resource
It seems that blindly putting it in resourceGenerators makes proguard...
proguard it.
2017-06-12 01:55:28 +02:00
Alexandre Archambault 9e7cc6dec4 Have boostraps use the main coursier cache 2017-06-09 18:13:13 +02:00
Alexandre Archambault 995e8c70fd Add sbt-pgp-coursier plugin 2017-06-07 14:24:21 +02:00
Alexandre Archambault 510646d596 Clean-up 2017-06-06 18:01:29 +02:00
Alexandre Archambault fa8d952e81 Make the proguarded JAR directly runnable 2017-06-01 13:08:20 +02:00
Alexandre Archambault f5ef7d8179 Add non-reg tests for Nexus proxies
Ensure everything work fine again with those (things went bad at
1.0.0-RC1, because of the use of directory listings, that may not be
exhaustive in proxies - or may be just empty, e.g. currently with nexus 3)
2017-05-31 21:19:27 +02:00
Alexandre Archambault f609e65f8b Add helper aggregate project 2017-05-31 15:24:53 +02:00
Alexandre Archambault 12e9ca3e08 Java-ize echo module 2017-05-16 17:05:32 +02:00
Alexandre Archambault 203e3fd477 Only compile http-server module in 2.12
So that we don't have to wait on its dependencies to add preliminary
support for scala 2.13
2017-05-15 18:54:29 +02:00
Alexandre Archambault 3656389fff Only compile sbt-launcher module in 2.11
So that we don't have to wait on its dependencies to add preliminary
support for scala 2.13
2017-05-15 18:54:29 +02:00
Alexandre Archambault 763106bf96 Switch to tut 0.5.1 2017-05-15 18:54:29 +02:00
Alexandre Archambault f62a110cfa Bump dependencies 2017-05-15 18:54:29 +02:00
Alexandre Archambault 9c7168fbc7 Add alias 2017-05-15 15:32:48 +02:00
Alexandre Archambault 89c3b3544d Don't create too visible empty directories during build 2017-05-15 15:32:48 +02:00
Alexandre Archambault f8c05d570b Dummy renaming in build 2017-05-15 15:32:47 +02:00
Alexandre Archambault e76f6170f1 Move typelevel-related things to new extra module 2017-05-12 00:00:14 +02:00
Alexandre Archambault 3a2b253643 Shade jsoup too 2017-05-10 02:52:05 +02:00
Alexandre Archambault 1113555ed7 Test bootstrap generation 2017-05-05 18:04:20 +02:00
Alexandre Archambault 4679d5fadf Switch to latest http4s
Travis Mac CI now seems to be on Java 8, no need to compile the http-server module against the latest Java 7 compatible http4s
2017-04-29 17:35:26 +02:00
Alexandre Archambault 1380d7a741 Quick & dirty scaladex lookup 2017-04-03 10:09:33 +02:00
Alexandre Archambault 13262a3831 Rework build.sbt 2017-04-02 21:51:11 +02:00
Jentsch 711e744d75 Let compiler explain warnings 2017-03-23 21:07:50 +01:00
Alexandre Archambault c25b5517ed Update organization here or there 2017-03-20 00:41:04 +01:00
Alexandre Archambault 11a1e509b5 Allow proguarded jar to be launched straightaway
With the right bash header
2017-03-14 15:39:01 +01:00
Alexandre Archambault 23ea3ff6fa Add echo application
Simply echoes its arguments - for testing purposes
2017-03-14 15:39:00 +01:00
Alexandre Archambault 41c0cea23b Use https repo 2017-03-10 10:41:05 +01:00
Alexandre Archambault 2c18c9472c Don't shade too many things 2017-03-10 00:45:38 +01:00
Alexandre Archambault 9eff5f3402 Have publishSigned publish artifacts with shading
1.0.0-M15-3 -> 🗑️
2017-03-05 15:47:41 +01:00
Alexandre Archambault 112638582f Shade fastparse 2017-02-28 15:09:18 +01:00
Alexandre Archambault ab319b164f Shade jarjar into sbt-shading 2017-02-28 14:46:58 +01:00
Alexandre Archambault 67f048878c Keep properties files when proguarding
Makes jsoup happier from the proguarded launcher
2017-02-28 13:29:10 +01:00
Alexandre Archambault c59c7d45ca Refactor travis.sh 2017-02-27 16:18:41 +01:00
Alexandre Archambault 17faeb7686 Hitting sbt issue 1673? 2017-02-27 16:01:02 +01:00
Alexandre Archambault 88f54cc356 Add sbt-launcher 2017-02-27 16:01:02 +01:00
Alexandre Archambault e5a6a609e3 Exclude pom from pack distributions
Upcoming sbt-coursier includes this in the update report, and these
aren't ignored by sbt-pack by default (yet?)
2017-02-27 15:54:57 +01:00
Alexandre Archambault a84057f792 Ensure no progress stuff if printed...
after progress report is stopped

just in case
2017-02-27 15:54:56 +01:00
Alexandre Archambault cce332eb55 Refactor web page link listing logic, implement it on the scalajs side 2017-02-13 19:19:39 +01:00
Alexandre Archambault 6b89af3924 Better handling of artifacts from Maven repos
Doesn't seem to break things
2017-02-13 19:19:29 +01:00
Alexandre Archambault a6b9c845c2 Rename plugin module to sbt-coursier 2017-02-05 15:36:34 +01:00
Alexandre Archambault d277153777 Annotate all case classes with final 2017-02-04 16:36:52 +01:00
Alexandre Archambault ed03750c23 Switch to scalaz 7.2.8 2017-01-31 16:22:17 +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