Commit Graph

141 Commits

Author SHA1 Message Date
Johannes Rudolph c117be2091
Rename our own update task to something else so we don't conflict with other task scopes 2018-09-15 15:04:12 +02:00
Johannes Rudolph 8aa58cd8ff
For common operations introduce `asString`, `printToConsole`, and `toFile` subtasks, fixes #164 2018-09-14 17:56:49 +02:00
Johannes Rudolph 7992dc91f8
Get rid of local updateTask copy by using `inTask` instead, fixes #148 2018-09-14 15:00:47 +02:00
Pawel Cejrowski eac51150a7 Added dependencyBrowseTreeHTML and dependencyBrowseTree tasks 2018-09-12 20:48:21 +02:00
Johannes Rudolph 1d8649ea6e
Merge pull request #159 from jrudolph/fix-95
Don't fail in parsing when whatDependsOn is called without running any other command first, fixes #95
2018-08-23 22:14:01 +02:00
Johannes Rudolph 6b176a9ca1
Don't fail in parsing when whatDependsOn is called without running any other command first, fixes #95
If no other command was run first, tab completion runs now in degraded mode
again, not showing any concrete suggestions but just the general syntax.

This probably regressed in #155 where I probably couldn't remember the reason
for the fallback...
2018-08-23 16:53:32 +02:00
Guillaume Massé 23e1480e07
Avoid http redirect in dependencyBrowseGraph
I published a dependency graph at https://github.com/MasseGuillaume/spark-dependency-graph

and I noticed that https://cpettitt.github.io/project/graphlib-dot/v0.6.1/graphlib-dot.js redirects to
http://www.samsarin.com/project/graphlib-dot/v0.6.1/graphlib-dot.js

this causes the script to fail over insecure content.
2018-08-03 14:03:55 +02:00
Johannes Rudolph cf7926d4f5
Automatic reformattig
Somehow this one was missed to be published before.
2018-07-17 12:13:58 +02:00
Johannes Rudolph aac468140f
Merge pull request #155 from jrudolph/whatDependsOn-without-version
What depends on without version
2018-07-17 12:01:51 +02:00
Johannes Rudolph 9305521f19
Add test for whatDependsOn 2018-07-17 11:51:13 +02:00
Johannes Rudolph 71f0e933d4
Derive resolution-cache dir location from ivyConfiguration, fixes #150 2018-07-17 11:41:31 +02:00
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
xuwei-k b3fd3ce7e4 fix procedure syntax 2018-05-23 13:15:49 +09: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 57356c5b54 Slight refactorings in DependencyGraphSettings 2017-10-24 17:49:22 +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 05ee0e4f1d
Fix scripted tests and detect version automatically 2017-10-06 11:43:32 +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
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 c57a81d226 Merge pull request #127 from xuwei-k/remove-ls
remove ls json
2017-06-06 18:12:32 +02:00
xuwei-k 78092eb193 add .travis.yml 2017-06-05 23:42:46 +09:00
xuwei-k 77b0e5a550 remove ls json 2017-06-05 22:58:44 +09:00
TzeKei Lee 75a5398404 Allow running whatDependsOn without version 2016-12-15 02:25:47 +08: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
Dmytro Aleksandrov e52bb48278 Replaced http CDN links with https 2016-05-29 13:44:36 +03: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
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 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
Johannes Rudolph 90923e9be5 fix scripted tests 2015-11-26 13:31:55 +01:00
Johannes Rudolph 2a54348003 fall back on ivy report XML for sbt < 0.13.6 2015-11-26 13:31:55 +01:00
Johannes Rudolph 21e5b7ce5b refactoring 2015-11-26 11:56:00 +01:00
Johannes Rudolph 83a311b4af make it compile again with sbt 0.13.6 2015-11-26 11:53:47 +01:00
Johannes Rudolph 000b0ed253 render a graph in the browser using dagre-d3 and graphlib-dot, fixes #29 2015-11-18 17:41:30 +01:00
Johannes Rudolph ac0ab5189a in DOT graph render special evicted by edges and access new elements through evicted ones 2015-11-18 17:36:55 +01:00
Johannes Rudolph 932085bdf6 rename frontend -> backend 2015-11-17 20:40:00 +01:00
Johannes Rudolph a89e63f956 new backend to generate graph directly from sbt data structures, fixes #39 2015-11-17 20:34:08 +01:00
Johannes Rudolph 191d12aa7a enable plugin automatically 2015-11-17 19:14:36 +01:00