Skip to content

Gitbook plugin to generate Java/Scala library dependencies for different build systems

License

Notifications You must be signed in to change notification settings

Marc--Olivier/gitbook-plugin-javadeps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitBook Plugin For Java/Scala Library Dependencies

This plugin helps to generate correct library dependencies for the following build systems:

  • SBT
  • Maven
  • Gradle

Import the plugins in the file book.json:

{
  "title": "Test book",
  "plugins": [
    "javadeps",
    "codetabs"
  ]
}

Note that codetabs is a dependency of javadeps and must therefore be imported as well.

In your gitbook, write the following dependencies:

{% javadeps %}
  "a-groupId" %% "a-artifactId" % "a-version" % "a-scope"
  "b-groupId" %% "b-artifactId" % "b-version"
  "c-groupId" % "c-artifactId" % "c-version" % "c-scope"
  "d-groupId" % "d-artifactId" % "d-version"
{% endjavadeps %}

%% means that the dependency is a scala dependency.

Run gitbook install and gitbook build. The dependencies for the SBT, Maven and Gradle build systems will be generated in different code tabs.

About

Gitbook plugin to generate Java/Scala library dependencies for different build systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published