Commit Graph

345 Commits

Author SHA1 Message Date
Alexandre Archambault 8bd4073ec2 Switch to sbt-coursier 2.0.0-RC2 2019-07-01 10:17:53 +02:00
Scala Steward 1a297411b7 Update sbt-coursier, sbt-shading to 1.1.0-M14-4 (#89) 2019-06-20 10:29:47 +02:00
Scala Steward 32e4d44e6d Update sbt-ci-release to 1.2.6 (#88) 2019-06-20 09:42:22 +02:00
Alexandre Archambault bed2d2dd28
Easier bin compat for stuff under lmcoursier.definitions (#73) 2019-05-28 12:48:16 +02:00
Eugene Yokota 1f372805c4 sbt 1.2.8 2019-05-22 15:19:59 -04:00
Alexandre Archambault 62d1ab0249 Ensure we don't break binary compatibility in lm-coursier 2019-04-26 10:20:59 +02:00
Alexandre Archambault 6bdd0f985a Vendor more stuff in lmcoursier, shade coursier in it
Along with shapeless, argonaut, argonaut-shapeless that coursier depends
on now.
2019-04-25 16:34:08 +02:00
Alexandre Archambault cf3705ff82 Switch to sbt-coursier 1.1.0-M13-4 in build 2019-04-05 09:07:38 +02:00
Alexandre Archambault 585634b49d Switch to sbt-coursier 1.1.0-M13-3 in build 2019-03-22 15:11:07 +01:00
Alexandre Archambault 81341d04c0 Remove unused stuff in build 2019-03-22 15:10:57 +01:00
Alexandre Archambault 852e73e036 Use coursier-based sbt launcher 2019-03-06 10:59:35 +01:00
Alexandre Archambault 2fda1c1c45 Switch to sbt-coursier 1.1.0-M11 in build 2019-02-26 13:29:55 +01:00
Alexandre Archambault 5377b537b1 Allow to disable publishing Javadoc with -Dpublish.javadoc
Useful when testing the plugin locally
2019-02-18 14:03:54 +01:00
Scala steward cc50de8804 Update sbt-contraband to 0.4.3 (#30) 2019-01-25 11:13:15 +01:00
Scala steward 80f661e9e4 Update sbt-contraband to 0.4.2 (#29) 2019-01-24 01:06:28 +01:00
Scala steward 2d8e389787 Update paradise to 2.1.1 (#23) 2019-01-13 23:52:53 +01:00
Scala steward c71ec889a6 Update sbt-pgp to 1.1.2 (#19) 2019-01-13 23:51:22 +01:00
Scala steward da203ab116 Update argonaut-shapeless_6.2 to 1.2.0-M9 (#17) 2019-01-12 15:55:44 +01:00
Alexandre Archambault 6b1a84c563
Add addSbtCoursier helper to sbt-lm-coursier too (#16) 2018-12-12 11:19:05 +01:00
Alexandre Archambault 4cbb9082cc Allow to adjust plugin name in scripted tests 2018-11-20 11:31:16 +01:00
Alexandre Archambault 55f457a6f7 Add DependencyResolutionInterface implementation in lm-coursier
Originally based on https://github.com/sbt/librarymanagement/pull/270
2018-11-20 11:25:16 +01:00
Alexandre Archambault 49236d2e8f Remove unused stuff in build 2018-11-14 14:47:52 +01:00
Alexandre Archambault a3abe32525 Clean-up build 2018-10-17 14:18:03 +02:00
Alexandre Archambault 3b81a4ad5e Setup sbt-ci-release (WIP) 2018-10-17 14:18:03 +02:00
Alexandre Archambault 4855caa0f5 Move modules under modules/ 2018-09-28 18:36:32 +02:00
Alexandre Archambault 3e05d920a4 Keep only sbt plugins 2018-09-28 18:23:43 +02:00
Alexandre Archambault 49f7654b59
Use scalajs-bundler (#907) 2018-09-26 17:10:22 +02:00
Alexandre Archambault 528c2adc2f
Switch to latest scalajs-react, split web module sources (#906) 2018-09-26 12:09:29 +02:00
Alexandre Archambault dd7c8c19d4
Switch to sbt 1.2.3 (#887) 2018-09-25 12:30:30 +02:00
Alexandre Archambault db1884a84e Remove 2.10 stuff 2018-09-24 15:03:50 +02:00
Alexandre Archambault fd6e56f2f8 Silence slf4j in proxy tests 2018-09-19 17:55:20 +02:00
Alexandre Archambault 496e40a2be
Updates for 1.1.0-M7 2018-08-02 23:16:59 +02:00
Alexandre Archambault 7dee5f65bd
Updates for 1.1.0-M6 2018-07-17 20:12:29 +02:00
Alexandre Archambault d4fff47ebe
Switch to scala-native 0.3.8 (#883) 2018-07-17 11:44:48 +02:00
Alexandre Archambault 8265c143bb
Updates for 1.1.0-M5 2018-07-10 19:56:57 +02:00
Alexandre Archambault 8a02ee8f15
Update things (#866) 2018-06-20 16:30:25 +02:00
sullis 5504f21a1e sbt 1.1.5 (#860) 2018-05-24 16:44:02 +02:00
Alexandre Archambault b926591133
Updates for 1.1.0-M4 2018-05-21 19:47:09 +02:00
Alexandre Archambault 2a689408f7
Updates for 1.1.0-M3 2018-05-05 13:04:53 +02:00
Alexandre Archambault 3ebe181152
Switch to scala 2.12.6 (#851) 2018-04-30 10:51:04 +02:00
Alexandre Archambault 66c7f7e900
Updates for 1.1.0-M2 2018-04-28 15:56:42 +02:00
Denys Shabalin 07989f0040 Upgrade to Scala Native 0.3.7 (#849) 2018-04-24 11:42:14 +02:00
Alexandre Archambault e4361d6fde
Only specify scala release versions in one place (#830) 2018-04-04 11:30:59 +02:00
Alexandre Archambault 4e4aa7cfa2 Switch to scala 2.12.5 2018-03-31 15:30:27 +02:00
Alexandre Archambault 2e7df0e8dd
Bump a few stuff (#826)
* Bump a few stuff

* Update README

Looks like tut changed its default variable name logic
2018-03-28 16:16:15 +02:00
Alexandre Archambault e1800e74a9 Remove milestone from MIMA checks
And ensure the ones to come aren't added either
2018-03-19 10:48:49 +01:00
Alexandre Archambault f8884d4170 Re-enable Nexus proxy tests, launch the mirrors from the tests 2018-03-16 13:44:43 +01:00
Alexandre Archambault 44b4ffee84
Updates for 1.1.0-M1 2018-03-14 12:29:36 +01:00
Alexandre Archambault b1fde7291d Don't require manually running npm install before the JS tests 2018-03-12 21:50:35 +01:00
Alexandre Archambault dc2e4996f4 Require Java 8 from now on 2018-03-12 21:50:35 +01:00
Alexandre Archambault 5bd162d5fe Tweak scalac options 2018-03-12 21:50:35 +01:00
Sean Sullivan 2747d1e55a
Update sbt plugins (#792)
sbt-release 1.0.7, sbt-sonatype 2.3, sbt-updates 0.3.4
2018-02-26 11:36:16 +01:00
Alexandre Archambault 0123a377e2 Bump version, remove 1.0.x mima checks 2018-02-22 18:17:10 +01:00
Alexandre Archambault b093c77193 Tweak comment 2018-02-22 11:30:51 +01:00
Alexandre Archambault 4adf65f7e9
Automatically initialize git submodules if necessary (#785) 2018-02-21 11:26:16 +01:00
Leonard Ehrenfried be486c01be Upgrade to sbt 1.1.1 2018-02-09 14:14:59 +01:00
Leonard Ehrenfried c30421e145 Upgrade to sbt 1.1.0, update sbt-pack 2018-02-09 14:14:58 +01:00
Alexandre Archambault 37aff72ada
Updates for 1.0.2 2018-02-09 11:26:37 +01:00
Alexandre Archambault 506e14a90b Switch cli to scala 2.12 and latest case-app 2018-02-07 10:23:07 +01:00
Alexandre Archambault 9c274c23d6 Update release process
tut seems not to work anymore here in 2.12…
2018-02-03 18:12:28 +01:00
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