-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Collect all the module trees in the plugin and query that from direct…
…ive (#10) One downside is that it now requires to populate `paradoxDependenciesModules` on the use side. But on the other hand, the access to the dependency tree is now done without touching the state directly. Fixes #9
- Loading branch information
Showing
7 changed files
with
49 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
src/sbt-test/dependencies/multi-module/docs/src/main/paradox/_template/page.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$page.content$ |
3 changes: 3 additions & 0 deletions
3
src/sbt-test/dependencies/multi-module/docs/src/main/paradox/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This module has the following dependencies: | ||
|
||
@@dependencies { module="module1" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# expect to fail, because projectA is not part of the root aggregate | ||
-> paradox | ||
|
||
> set paradoxDependenciesProjects := Seq(projectA, projectB) | ||
|
||
# now plugin knows about all projects and is able to generate dependency info for all | ||
> paradox | ||
|
||
$ must-mirror target/paradox/site/main/index.html expected/index.html | ||
$ must-mirror target/paradox/site/main/index.html expected/index.html |