Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i use it with gradle? #14

Open
raul-sr opened this issue Jul 10, 2020 · 2 comments
Open

how can i use it with gradle? #14

raul-sr opened this issue Jul 10, 2020 · 2 comments

Comments

@raul-sr
Copy link

raul-sr commented Jul 10, 2020

What do I need to apply it in gradle?

@el-hult
Copy link

el-hult commented Dec 1, 2021

My attempt is

apply plugin: 'java'

repositories {
    mavenCentral()
    maven {url "https://jitpack.io"}
}
configurations {
    pumldoclet
}
dependencies {
    pumldoclet 'com.github.gboersma:uml-java-doclet:1.1'
}

javadoc {
    options.doclet = 'info.leadinglight.umljavadoclet.UmlJavaDoclet'
    options.docletpath = configurations.pumldoclet.files.toList()
}

but I cannot get it to run, since I have JDK 11, and this tool only works with JDK 8.

Please let me know if you have any luck making it run.

@koppor
Copy link

koppor commented Aug 30, 2023

There is an alternative plantuml-taglet with following syntax:

/**
 * Description.
 *
 * <img src="example.svg">
 *
 * This package/class ...
 *
 * @plantUml example.svg
 * Alice -> Bob: Authentication Request
 * Alice <-- Bob: Authentication Response
 * 
 */

Result:

image

(Source code: https://github.com/mnlipp/jdrupes-taglets/blob/master/plantUml9/overview.md)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants