Commit Graph

235 Commits

Author SHA1 Message Date
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
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
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
Johannes Rudolph 546e8e2e05 Merge pull request #108 from thetristan/generate-it-report
Generate reports for projects using IntegrationTest config
2016-06-30 08:45:44 +02:00
Tristan Blease db73b6d83c Return empty graph if no update report is found 2016-06-26 13:11:11 -04:00
Tristan Blease 91cb6e0931 Add IntegrationTest as a default config for generating ivy reports 2016-06-26 12:22:58 -04:00
Johannes Rudolph 8ff4397b5a Merge pull request #103 from alkersan/master
Replaced http CDN links with https, fixes #102
2016-05-29 14:19:22 +02:00
Dmytro Aleksandrov e52bb48278 Replaced http CDN links with https 2016-05-29 13:44:36 +03:00
Johannes Rudolph 014c98daf4 Merge pull request #92 from dwijnand/readm-link-to-compatibility-notes
Fix link to Compatibility notes
2016-02-17 09:28:56 +01:00
Dale Wijnand e387d35a43 Fix link to Compatibility notes 2016-02-16 23:18:46 +00:00
Johannes Rudolph d989e8fa01 include space in token in `whatDependsOn` parser for better suggestions, fixes #91 2016-02-10 12:48:00 +01:00
Johannes Rudolph 96aee390df next version 2016-02-01 11:02:29 +01:00
Johannes Rudolph 188a343161
prepare 0.8.2 2016-02-01 11:01:25 +01:00
Johannes Rudolph e551c8f526 Merge pull request #89 from chtefi/patch-1
Use v0.4.16 of dagre-d3 to avoid javascript error
2016-02-01 09:40:29 +01:00
Stéphane Derosiaux b62fcec676 Use v0.4.16 of dagre-d3 to avoid javascript error
When using `dagre-d3` v0.4.10, my browser (Chrome 49) crashes an javascript error and the arrows are not displayed :
```
Uncaught TypeError: t.getTransformToElement is not a function
```
This happens in the function `getCoords` of the library.

Using the latest version v0.4.16 of dagre-d3 fixes the issue.
2016-01-31 18:11:32 +01:00
Johannes Rudolph d6d53ff0e9 0.8.1 notes fixes 2016-01-10 11:25:05 +01:00
Johannes Rudolph 9fe12b8380 next version 2016-01-08 18:41:36 +01:00
Johannes Rudolph 88f0699398 bump version to 0.8.1 2016-01-08 18:38:20 +01:00
Johannes Rudolph c9d1f81149 added `dependencyStats`: a tabular console output showing an overview of jar-sizes, fixes #83 2016-01-08 18:30:01 +01:00
Johannes Rudolph f7e3a49e93 add `dependency-list`, fixes #85 2016-01-08 17:29:42 +01:00
Johannes Rudolph 00d64878aa dependencyDot: fix rendering of HTML labels, fixes #84 2016-01-08 17:29:42 +01:00
Johannes Rudolph cc2c3d1d9e bump version 2016-01-08 17:29:42 +01:00