Commit Graph

235 Commits

Author SHA1 Message Date
Alexandre Archambault d36cf0c57b Updates for 1.0.1 2018-02-03 18:11:16 +01:00
Alexandre Archambault 886b4647d9 Update release process 2018-02-01 23:59:46 +01:00
Alexandre Archambault 695c677269 Updates for 1.0.1-M1 2018-02-01 23:57:24 +01:00
Dale Wijnand 70fa5f13cb Update, extract & override scala versions for plugins (#730)
* Update, extract & override scala versions for plugins

* Only override crossScalaVersions in sbt-plugins

That way (hopefully) the current CI setup using ++ doesn't break. See #730
2018-01-10 17:24:16 +01:00
Dale Wijnand 7953cc4d67
Enable reflective class in the hackaround of tweakedScriptedTask 2018-01-09 14:49:57 +00:00
Alexandre Archambault 0bbdcb8446 Remove remaining sbt launcher stuff 2017-12-28 11:47:04 +01:00
Alexandre Archambault 0002798221 Remove sbt-launcher project
Now lives in its own repo at https://github.com/coursier/sbt-launcher
2017-12-28 10:19:05 +01:00
Alexandre Archambault d3360d640d Workaround for method not found for sbt 0.13 scripted tests 2017-12-27 16:38:21 +01:00
Alexandre Archambault 948361e429 More refined, and manual, activation of scripted
Allows to do a `sbt ++2.11.11 test:compile`, without the sbt plugin
modules or scripted being an issue.
2017-12-27 16:38:21 +01:00
Alexandre Archambault 6f37e95be6 Switch to sbt 1.0.4 2017-12-27 16:38:21 +01:00
Alexandre Archambault e97eaa18b5 Remove http-server module
Now has its own repo at https://github.com/coursier/http-server

Same Maven coordinates as before, `io.get-coursier:http-server_2.12`
2017-12-27 02:18:35 +01:00
Yi Cheng a4258f48ce
Add json report to fetch and local exclusion option (#692)
This patch introduces changes for cli with json output #659. Format as follows:
```
{
  "conflict_resolution": {
    "org:name:version" (requested): "org:name:version" (reconciled) 
  },
  "dependencies": [
    {
      "coord": "orgA:nameA:versionA",
      "files": [
        [
          <classifier>,
          <path>
        ]
      ],
      "dependencies": [ // coodinates for its transitive dependencies
        <orgX:nameX:versionX>,
        <orgY:nameY:versionY>,
      ]
    },
    {
      "coord": "orgB:nameB:versionB",
      "files": [
        [
          <classifier>,
          <path>
        ]
      ],
      "dependencies": [ // coodinates for its transitive dependencies
        <orgX:nameX:versionX>,
        <orgZ:nameZ:versionZ>,
      ]
    },
  ]
}
```
For example:
```
fetch -t org.apache.avro:trevni-avro:1.8.2  org.slf4j:slf4j-api:1.7.6 --json-output-file x.out
  Result:
├─ org.apache.avro:trevni-avro:1.8.2
│  ├─ org.apache.avro:trevni-core:1.8.2
│  │  ├─ org.apache.commons:commons-compress:1.8.1
│  │  ├─ org.slf4j:slf4j-api:1.7.7
│  │  └─ org.xerial.snappy:snappy-java:1.1.1.3
│  └─ org.slf4j:slf4j-api:1.7.7
└─ org.slf4j:slf4j-api:1.7.6 -> 1.7.7
```
would produce the following json file:
```
$ jq < x.out 
{
  "conflict_resolution": {
    "org.slf4j:slf4j-api:1.7.6": "org.slf4j:slf4j-api:1.7.7"
  },
  "dependencies": [
    {
      "coord": "org.apache.avro:trevni-core:1.8.2",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/avro/trevni-core/1.8.2/trevni-core-1.8.2.jar"
        ]
      ],
      "dependencies": [
        "org.slf4j:slf4j-api:1.7.7",
        "org.xerial.snappy:snappy-java:1.1.1.3",
        "org.apache.commons:commons-compress:1.8.1"
      ]
    },
    {
      "coord": "org.apache.avro:trevni-avro:1.8.2",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/avro/trevni-avro/1.8.2/trevni-avro-1.8.2.jar"
        ]
      ],
      "dependencies": [
        "org.apache.avro:trevni-core:1.8.2",
        "org.slf4j:slf4j-api:1.7.7",
        "org.xerial.snappy:snappy-java:1.1.1.3",
        "org.apache.commons:commons-compress:1.8.1"
      ]
    },
    {
      "coord": "org.slf4j:slf4j-api:1.7.7",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.jar"
        ]
      ],
      "dependencies": []
    },
    {
      "coord": "org.apache.commons:commons-compress:1.8.1",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar"
        ]
      ],
      "dependencies": []
    },
    {
      "coord": "org.xerial.snappy:snappy-java:1.1.1.3",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/xerial/snappy/snappy-java/1.1.1.3/snappy-java-1.1.1.3.jar"
        ]
      ],
      "dependencies": []
    }
  ]
}

```
2017-12-26 10:46:35 -08:00
Alexandre Archambault 1c134dc2a6 Update test fixtures if snapshot version changes 2017-12-18 12:00:10 +01:00
Alexandre Archambault 384f7ecc47
Updates for 1.0.0 2017-12-14 12:50:01 +00:00
Alexandre Archambault cbf3ff5558
Updates for 1.0.0-RC14 2017-12-12 02:05:09 +01:00
Alexandre Archambault ee9c61393c Move FromSbt / ToSbt helpers to separate module 2017-12-11 10:07:04 +01:00
Alexandre Archambault a10b4ad0b0
Updates for 1.0.0-RC13 2017-10-29 15:08:20 +01:00
Alexandre Archambault 5377ce71df
Updates for 1.0.0-RC12-1 2017-10-28 13:33:10 +02:00
Alexandre Archambault d27c0ee46e Quick hack to make publishSigned work again with sbt 1.0.2
Ideally, the scripted tests should still be run with sbt 1.0.1 too, to
ensure there are no regression with it, but the current setup doesn't
make that easy.
2017-10-27 17:19:34 +02:00
Alexandre Archambault afae0cd7f1 Bump asm version (used by shading)
Seems to fix java.lang.IncompatibleClassChangeError errors when using
shaded code. Release of coursier using the next one for shading should
be fine with Java 9 thanks to that.
2017-10-26 16:07:54 +02:00
Alexandre Archambault 34cce59b65 Minor tweaks 2017-10-26 01:36:55 +02:00
Alexandre Archambault 5f5b127563 Bump dependencies 2017-10-21 02:30:51 +02:00
Alexandre Archambault ce2a01af40 Bump plugins 2017-10-21 01:53:25 +02:00
Alexandre Archambault 5645f8fe6d Remove scoverage
It was unused for now, it may be added back later
2017-10-20 02:48:11 +02:00
Alexandre Archambault ccd102e2ec Remove scripted workaround
Shouldn't be required anymore since
09c5ce417a
2017-09-23 18:00:38 +02:00
Alexandre Archambault 2c4c3aa3d3 Fix README updating in release process 2017-09-20 16:57:31 +02:00
Alexandre Archambault 1252f2b8d5 Use new helper to get coursier version 2017-09-20 16:55:15 +02:00
Alexandre Archambault 799619de6e
Updates for 1.0.0-RC12 2017-09-20 15:13:49 +02:00
Alexandre Archambault 964151392b Allow exclusions to have no explicit artifact ID in POM 2017-09-04 02:01:36 +02:00
Alexandre Archambault 11486ea2ad
Updates for 1.0.0-RC11 2017-08-30 12:57:51 +02:00
Alexandre Archambault 6cc60bea1a
Updates for 1.0.0-RC10 2017-08-09 15:41:45 +02:00
Alexandre Archambault ef596c12c3
Updates for 1.0.0-RC9 2017-08-05 15:32:06 +02:00
Alexandre Archambault e3097a56ca Back to sbt-coursier 1.0.0-RC7 before publishing
Because of https://github.com/coursier/coursier/issues/619
2017-08-05 13:28:40 +02:00
Alexandre Archambault 930a012965 Switch to sbt 1.0.0-RC3 2017-08-04 16:20:03 +02:00
Alexandre Archambault a798b04d99 Switch to scala-js 0.6.19 2017-08-04 16:20:02 +02:00
Alexandre Archambault 662cf62c95 Switch to sbt-mima 0.1.15 2017-08-04 16:20:02 +02:00
Alexandre Archambault b6569c7d4b Switch to sbt 0.13.16 2017-08-04 16:20:01 +02:00
Alexandre Archambault ad78a388f6
Updates for 1.0.0-RC8 2017-07-20 00:23:14 +02:00
Alexandre Archambault f797681fab Switch to sbt 1.0.0-RC2 2017-07-19 01:40:18 +02:00
Alexandre Archambault a7097556db Don't unnecessarily check for mima compatibility once release is done
Simply calling mimaReportBinaryIssues fails because of scalaVersion
discrepancies between core modules and sbt plugins.
2017-07-18 17:54:45 +02:00
Alexandre Archambault 6e86986cde
Updates for 1.0.0-RC7 2017-07-18 17:43:40 +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 d25df01bf5 Updates for 1.0.0-RC6 2017-06-25 15:13:46 +02:00
Alexandre Archambault 361e4167a4
Updates for 1.0.0-RC5 2017-06-21 09:38:28 +02:00
Alexandre Archambault c945827d95 Fix mimaReportBinaryIssues for scala-js modules 2017-06-18 20:02:05 +02:00
Alexandre Archambault ac5d4cb9cc Updates for 1.0.0-RC4 2017-06-18 19:53:58 +02:00
Alexandre Archambault fb5dbdfbfb Merge pull request #560 from coursier/topic/sbt-1.0.0-M6
Switch to sbt 1.0.0-M6 (WIP)
2017-06-16 16:08:44 +02:00
Alexandre Archambault 8106a1837f Ensure scripted finds its launcher
Meh
2017-06-13 17:51:50 +02:00
Alexandre Archambault b964497f1c Add workaround for sbt 1.0.0-M6 2017-06-07 14:47:11 +02:00
Alexandre Archambault 6d08ced648 Switch to sbt 1.0.0-M6 2017-06-07 14:34:45 +02:00
Alexandre Archambault 995e8c70fd Add sbt-pgp-coursier plugin 2017-06-07 14:24:21 +02:00
Alexandre Archambault 246235c34a Merge pull request #568 from coursier/develop
Latest developments
2017-06-06 19:34:00 +02:00
Alexandre Archambault 4cdd95b37e Really close http connections 2017-06-06 18:01:28 +02:00
Alexandre Archambault 3ac230f0be Watch downloads from other coursier
Rather than failing with lock error
2017-06-06 18:01:24 +02:00
Alexandre Archambault ab8df1e305 Switch to scalajs 0.6.17 2017-06-04 15:27:37 +02:00
Alexandre Archambault 5a53b8447e Merge pull request #559 from coursier/topic/prelude-proguarded-jar
Make the proguarded JAR directly runnable
2017-06-02 15:15:37 +02:00
Alexandre Archambault fa8d952e81 Make the proguarded JAR directly runnable 2017-06-01 13:08:20 +02:00
Alexandre Archambault e0d1a8709b Bump dependencies 2017-06-01 11:52:29 +02:00
Alexandre Archambault 65a0b035d0 Tweak build 2017-05-16 17:05:32 +02:00
Alexandre Archambault 4f0b26d7a7 Add released versions to binary compatiblity versions 2017-05-15 18:54:30 +02:00
Alexandre Archambault a0bc58afa3 Dummy fix in release process 2017-05-15 18:54:29 +02:00
Alexandre Archambault 72fa824f36 Tweak tag step in sbt-release process 2017-05-15 18:54:29 +02:00
Alexandre Archambault 7c7f236bcc Bump plugins 2017-05-15 18:54:29 +02:00
Alexandre Archambault 70dad11384 Enable sbt-updates for plugins 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 2f350e058b Add sbt-updates 2017-05-15 15:32:49 +02:00
Alexandre Archambault 5ca736b87a Move property file under coursier namespace
Should make it move along the rest when shading coursier
2017-05-15 15:32:48 +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 67b3b06895
Updates for 1.0.0-RC3 2017-05-12 13:18:38 +02:00
Alexandre Archambault ed134dda7a Remove unnecessary java option in scripted tests 2017-05-10 15:39:10 +02:00
Alexandre Archambault 65d8c448ec Address sbt warning 2017-05-06 16:56:07 +02:00
Alexandre Archambault 1d06921038 Fix typo 2017-05-06 16:50:43 +02:00
Alexandre Archambault ef13af2f0c Add required repos 2017-05-06 16:49:32 +02:00
Alexandre Archambault e98d21afc6
Updates for 1.0.0-RC2 2017-05-06 16:42:52 +02:00
Alexandre Archambault 1ad06cf407 Cross-compile plugins for sbt 1.0.0-M5 2017-05-03 19:11:10 +02:00
Alexandre Archambault 3840171b94 Merge pull request #522 from coursier/topic/bump-scala-js
Switch to scala-js 0.6.16
2017-05-01 03:31:47 +02:00
Alexandre Archambault b463f5989d Switch to scala-js 0.6.16 2017-04-29 17:38:23 +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 b65fdf3c7b Switch to scala 2.11.11 2017-04-26 14:11:38 +02:00
Alexandre Archambault debf9da7a4 Don't run tests during releases now that the CI statuses are checked 2017-04-24 21:09:12 +02:00
Alexandre Archambault d800467c3c Check Appveyor status 2017-04-24 21:09:11 +02:00
Alexandre Archambault d27cec6839 Check Travis status 2017-04-24 21:09:11 +02:00
Alexandre Archambault c59648bd80 Use sbt-release 2017-04-24 21:09:11 +02:00
Alexandre Archambault 7e2593a293 Rework plugins.sbt 2017-04-24 20:46:22 +02:00
Alexandre Archambault 9bc69527dd Update MIMA settings after 1.0.0-RC1 release (#492)
* Update MIMA settings after 1.0.0-RC1 release

* Adjust things for MIMA after 1.0.0-RC1 release
2017-04-11 15:19:27 +02:00
Alexandre Archambault c7eb333d06 Switch to sbt-coursier 1.0.0-RC1 2017-04-08 18:41: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
Alexandre Archambault 621d0ca18e Switch to scalajs 0.6.15 2017-03-21 15:01:02 +01:00
Alexandre Archambault 2bc1aebba5 Switch to sbt-coursier / sbt-shading 1.0.0-M15-5
Should not require pulling a custom version of jarjar
2017-03-10 10:31:13 +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 d0bcc77d25 Switch to sbt-coursier 1.0.0-M15-2 2017-02-28 14:26:35 +01:00
Alexandre Archambault 7de033a68f Move all scripts under scripts/ 2017-02-27 16:01:02 +01:00
Alexandre Archambault 88f54cc356 Add sbt-launcher 2017-02-27 16:01:02 +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