Commit Graph

254 Commits

Author SHA1 Message Date
Johannes Rudolph 6dbcad89d6
Merge master and adapt solution
A new case class ArtifactPattern was created which models both searching with
and without version.
2018-07-16 14:59:16 +02:00
Johannes Rudolph 321f70b17f
Update to sbt 1.1.6
+ new plugin versions
+ new dependency versions
+ freshly autoformatted
2018-07-16 11:59:20 +02:00
Johannes Rudolph 18a0705139
Merge pull request #115 from dmcnelis/master
Adding a clarifying remark to the whatDependsOn command, to make it c…
2018-07-16 11:44:39 +02:00
Johannes Rudolph 978c3c4e2c
Move the sbt invocation notice 2018-07-16 11:44:03 +02:00
Johannes Rudolph 3e41ea7965
Merge pull request #152 from xuwei-k/procedure-syntax
fix procedure syntax
2018-07-16 11:38:50 +02:00
xuwei-k b3fd3ce7e4 fix procedure syntax 2018-05-23 13:15:49 +09:00
Johannes Rudolph 3b1207e9c2
Merge pull request #151 from leifwickland/patch-1
Fix minor typo
2018-04-11 17:09:47 +02:00
Leif Wickland 6f4dfaa45e
Fix minor typo. 2018-04-10 10:22:48 -06:00
Johannes Rudolph 5e3bbdb8c2
README: sbt 0.13 is only supported starting from 0.13.10
Fixes #148.
2018-01-02 13:55:48 +01:00
Johannes Rudolph 1a56850401 Merge pull request #142 from xuwei-k/patch-1
use oraclejdk8
2017-10-26 09:41:09 +02:00
kenji yoshida 6cff0c5e8d use oraclejdk8
travis-ci no longer support oraclejdk7

https://github.com/travis-ci/travis-ci/issues/7884#issuecomment-308451879
2017-10-26 13:33:28 +09:00
Johannes Rudolph 5e0aa1d0fc Add dates to released versions
It's been a long ride... almost six years by now :)
2017-10-25 17:59:24 +02:00
Johannes Rudolph d9b159ba8a Replace notes file by a single CHANGELOG.md 2017-10-25 17:54:18 +02:00
Johannes Rudolph 85284c6a4f Add release notes for 0.9.0 (even if they cannot be published any more) 2017-10-25 17:50:10 +02:00
Johannes Rudolph e0f5fecec5 Merge pull request #129 from benmccann/patch-1
Use https for resolver
2017-10-25 09:43:06 +02:00
Johannes Rudolph 93899f2eca Update README to de-emphasize `dependencyGraph` which is missing from sbt 1.0 version 2017-10-24 18:35:40 +02:00
Johannes Rudolph 2178b71c62 Merge pull request #137 from jrudolph/w/update-to-sbt-1.0
Ongoing progress on migrating to sbt 1.0
2017-10-24 18:33:55 +02:00
Johannes Rudolph 90fc1a7f4f Update README to reflect 0.9.0 changes 2017-10-24 18:18:21 +02:00
Johannes Rudolph 0c59e1ba34
Merge commit 'refs/pull/140' into w/update-to-sbt-1.0
I merged these changes without actually applying them to keep authorship
information about the changes that were proposed by Masse Guillaume of
Scala Center.

On the other side of the merge I added lots of small changes which were
either inspired or just plainly copied from the ones merged in here.

In the diff you can see which changes were not taken over.
2017-10-24 17:50:20 +02:00
Johannes Rudolph 57356c5b54 Slight refactorings in DependencyGraphSettings 2017-10-24 17:49:22 +02:00
Johannes Rudolph 014e74c68b sbt-dynver produces named builds, so use those to detect when to use snapshot repo 2017-10-24 17:24:20 +02:00
Johannes Rudolph f82df10711 Fix compilation warnings 2017-10-23 17:35:30 +02:00
Johannes Rudolph 68bc4f53cf Fix sbt-test issues 2017-10-23 17:35:14 +02:00
Johannes Rudolph a66dabcc3b Make ignoreMissingUpdate work again for both sbt 0.13 and 1.0 2017-10-23 17:24:49 +02:00
Johannes Rudolph d3676dd17f Fix configuration usage for sbt 0.13 2017-10-23 16:53:00 +02:00
Johannes Rudolph 73faf777f2 Make autoconversion from sbinary -> jsonnew only apply in sbt 1.x 2017-10-23 16:52:38 +02:00
Johannes Rudolph e813b28a1c Move SbtAccess to our own package below sbt to prevent accidental namespace clashes with other plugins / sbt 2017-10-23 16:44:15 +02:00
Johannes Rudolph cfa9f462cf Test for all sbt versions on travis 2017-10-23 16:26:43 +02:00
Johannes Rudolph 0bbeea3977 Modernize and adapt build, update to newest versions 2017-10-23 16:26:43 +02:00
Johannes Rudolph 8d5e9d9015 Cleanup README 2017-10-23 16:14:18 +02:00
Guillaume Massé 66f801bf92 Compiles with sbt 1.0 and sbt 0.13
1. ascii-graphs

We need a 2.12 version of ascii-graphs. The last commit to the project is in June 2013 (https://github.com/mdr/ascii-graphs/graphs/contributors). We are now in October 2017. I opened a PR (https://github.com/mdr/ascii-graphs/pull/11) but I don't expect any progress on this front. We can maintain a fork or drop ascii-graphs.

2. ignoreMissingUpdate

ignoreMissingUpdate is a tricky one. Here is some explanation:

we need to duplicate the updateTask

in sbt it's define as:

```scala
def updateTask: Initialize[Task[UpdateReport]] = Def.task {
  // ...
  val uc0 = updateConfiguration.value
  // ...
}
```

since it's not scoped to our task (ex: `updateConfiguration in ignoreMissingUpdate`) we cannot just do

```scala
updateConfiguration in ignoreMissingUpdate := {
  updateConfiguration.value.withMissingOk(true)
}
```

For example, the following example yield `"u2: false"

```
val update2 = TaskKey[Unit]("update2", "...")
val update2Configuration = SettingKey[Boolean]("...")

update2 := Def.task {
  val u2 = (update2Configuration in update2).value
  println(s"u2: $u2")
}.value

update2Configuration := false
update2Configuration in update2 := true
```

3. cross publishing

We can use the ^ operator to publish. For example: `sbt "^ publish"` to publish for both sbt 0.13 and 1.0.
2017-10-17 15:42:00 +02:00
Guillaume Massé 8591a5adae Bump to sbt 0.13.16, drop support for sbt 0.12.x 2017-10-16 16:44:26 +02:00
Johannes Rudolph 05ee0e4f1d
Fix scripted tests and detect version automatically 2017-10-06 11:43:32 +02:00
Johannes Rudolph 00c3ab7da6 Upgrade to released sbt-compat 1.1.0 2017-10-06 11:43:08 +02:00
Martynas Mickevičius 58947bfec6 Use sbt-compat lib 2017-09-07 17:04:59 +02:00
Johannes Rudolph 0e20a090f3 half-broken initial attempt at sbt 1.0.0 support 2017-08-29 16:48:27 +02:00
Johannes Rudolph 279dea3514
only provide `dependencyGraph` / `asciiGraph` in sbt 0.13 2017-08-14 15:41:51 +02:00
Johannes Rudolph dd6c1c4206 move to sbt-pgp 1.1.0-M1 2017-08-14 15:27:00 +02:00
Johannes Rudolph c5700e9d74 update to sbt 0.13.16 2017-08-14 15:26:26 +02:00
Ben McCann f8eace182d Use https for resolver
See http://www.ontoillogical.com/blog/2014/07/28/how-to-take-over-any-java-developer/
2017-06-06 10:11:36 -07:00
Johannes Rudolph 7a92c224d8 Merge pull request #125 from OleksandrBezhan/docs/readme-markdown
Fix readme markdown
2017-06-06 18:14:32 +02:00
Johannes Rudolph c57a81d226 Merge pull request #127 from xuwei-k/remove-ls
remove ls json
2017-06-06 18:12:32 +02:00
Johannes Rudolph c2193cea09 Merge pull request #126 from xuwei-k/remove-sbt-cross
remove sbt-cross-building, add .travis.yml
2017-06-06 18:10:41 +02:00
xuwei-k 78092eb193 add .travis.yml 2017-06-05 23:42:46 +09:00
xuwei-k 775cad68fe remove sbt-cross-building 2017-06-05 23:07:18 +09:00
xuwei-k 77b0e5a550 remove ls json 2017-06-05 22:58:44 +09:00
Alex Bezhan d81aaf0f9c Fix readme markdown 2017-06-05 14:35:23 +03:00
David McNelis d38a00598f Adding a clarifying remark to the whatDependsOn command, to make it clear how to run the command from outside an sbt shell 2017-01-09 14:38:46 -05:00
Johannes Rudolph e397e5b6d2 Merge pull request #64 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2016-12-17 12:15:25 +01:00
TzeKei Lee 75a5398404 Allow running whatDependsOn without version 2016-12-15 02:25:47 +08:00