Skip to content
This repository has been archived by the owner on Nov 16, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants