Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.
/ sbt-plantuml-plugin Public archive

An sbt plugin to generate sequence diagrams from text files.

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

Banno/sbt-plantuml-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbt-plantuml-plugin

An sbt plugin to generate sequence diagrams from text files.

Usage

Add the following to your project definition, below is an example in a build.sbt file. They are generated from the *.diag files under the default of src/main/resources/sequence-diagrams/ and outputted to the same directory.

import com.banno.plantuml.PlantUMLPlugin

name := "your-awesome-project-name"

enablePlugins(PlantUMLPlugin)

With the following added to your project/plugins.sbt

resolvers += Resolver.url("bintray-banno-oss-releases", url("https://dl.bintray.com/banno/oss"))(Resolver.ivyStylePatterns)

addSbtPlugin("com.banno" % "sbt-plantuml-plugin" % "1.1.1")

Custom input/output directories and file extension

import com.banno.plantuml.PlantUMLPlugin

name := "your-awesome-project-name"

enablePlugins(PlantUMLPlugin)

PlantUMLPlugin.sequenceDiagramExtension := "*.seq"

PlantUMLPlugin.sequenceDiagramsLocation := file("./other/path/sequence-diagrams/")

PlantUMLPlugin.sequenceDiagramsOutput := file("./other/path/sequence-diagrams/")

Upgrading plantuml

Run the download-plantuml-source script from the root project directory.

Note: Make sure you have dos2unix installed, it's installable via brew install dos2unix.

~/src/banno/sbt-plantuml-plugin $ ./download-plantuml-source
Downloading sources
Cleaning
Unpackaging the archive
Removing unneeded files from archive.
Converting dos line endings to linux
All Done!

Contributing

Fork away, commit, and send a pull request. Make sure that the tests pass before you submit your pull request.

About

An sbt plugin to generate sequence diagrams from text files.

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages