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

[pull] master from plantuml:master #91

Merged
merged 86 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
35505fd
chore(deps): bump actions/setup-java from 3 to 4
dependabot[bot] Nov 30, 2023
7b1f67a
test: Use XMLUnit to compare XMI
DaumAlexande Dec 4, 2023
de5d791
docs: improve `@deprecated` description
The-Lum Dec 4, 2023
6c593c4
Merge pull request #1619 from The-Lum/ImproveDoc
arnaudroques Dec 4, 2023
db6567c
Merge pull request #1618 from DaumAlexande/use_xmlunit
arnaudroques Dec 4, 2023
3a4c614
Merge pull request #1617 from plantuml/dependabot/github_actions/acti…
arnaudroques Dec 4, 2023
cb5b881
chore(deps): bump actions/labeler from 4 to 5
dependabot[bot] Dec 5, 2023
1cb61d5
fix: allow different type inside array for `GetJsonKey` builtin fct
The-Lum Dec 8, 2023
3f836a4
fix: allow (`int` corresponding of) unicode value for `Chr` builtin fct
The-Lum Dec 8, 2023
5c72456
test refactor: simplify test using `TimTestUtils`
The-Lum Dec 8, 2023
c20153a
Merge pull request #1624 from The-Lum/PatchBranch
arnaudroques Dec 8, 2023
c20b3d9
feat: work on chronology
arnaudroques Dec 11, 2023
428381c
Merge branch 'tmp2'
arnaudroques Dec 11, 2023
a061b11
chore: formatting issue
arnaudroques Dec 11, 2023
a87f844
fix: missing label in activity diagrams
arnaudroques Dec 11, 2023
5128891
chore: version 1.2023.13
arnaudroques Dec 11, 2023
cc80d86
chore: prepare next development cycle
arnaudroques Dec 12, 2023
371bafa
chore(deps): bump actions/upload-artifact from 3 to 4
dependabot[bot] Dec 15, 2023
b65aaff
fix: improve local style for activity diagrams
arnaudroques Dec 18, 2023
26189b1
fix: improve local style management for activity diagrams
arnaudroques Dec 19, 2023
533c27c
feat: adding edgy tools in stdlib
arnaudroques Jan 3, 2024
d07cda5
feat: adding action and process keywords
arnaudroques Jan 6, 2024
6c73caa
fix: minor issues about multiples stereotype and improve new shapes a…
arnaudroques Jan 8, 2024
48dc07d
fix: note placement in listfiles
arnaudroques Jan 9, 2024
9502ed8
add: Language Descriptor Improvement (adding `action` and `process`)
The-Lum Jan 16, 2024
24d7e94
Merge pull request #1643 from The-Lum/PatchBranch
arnaudroques Jan 16, 2024
bf2312a
feat: edgy standard library improvement
arnaudroques Jan 16, 2024
4217882
chore(deps): bump actions/cache from 3 to 4
dependabot[bot] Jan 18, 2024
4026878
perf: stop recompiling pattern at runtime
arnaudroques Jan 18, 2024
f805d98
docs: add `readme.md` on `chronology`
The-Lum Jan 24, 2024
6d158d1
docs: add `package-info.java` on `chronology`
The-Lum Jan 24, 2024
dbb5354
fix: clear cache when StringBounder has changed
arnaudroques Jan 27, 2024
e9139c8
fix: Restore missing file `HelpTest.java` on an accurate folder.
The-Lum Jan 27, 2024
de6316c
Merge pull request #1655 from The-Lum/PatchBranch
arnaudroques Jan 27, 2024
5fae97f
fix: Gantt Layout issue when Print between is used with Printscale we…
arnaudroques Feb 1, 2024
7a20001
Merge branch 'master' of https://github.com/plantuml/plantuml
arnaudroques Feb 1, 2024
dbbdf12
chore: version 1.2024.0
arnaudroques Feb 1, 2024
dbaf8ac
feat: add some %random function
arnaudroques Feb 1, 2024
9e18d34
Update and rename Random.java to RandomFunction.java
The-Lum Feb 1, 2024
376ee9d
Update `TContext.java` with `RandomFunction`
The-Lum Feb 1, 2024
c10ac17
fix: import the file `RandomFunction`
The-Lum Feb 1, 2024
23c86ba
Improve `Chronology diagram` management
The-Lum Feb 1, 2024
80acb87
Merge pull request #1668 from The-Lum/Random
arnaudroques Feb 1, 2024
ad383d2
Merge pull request #1669 from The-Lum/PatchBranch
arnaudroques Feb 2, 2024
3bd3edb
feat: `Random` function: add test and private declaration
The-Lum Feb 3, 2024
c447e44
Merge pull request #1673 from The-Lum/Random
arnaudroques Feb 4, 2024
1690ca3
chore(deps): bump org.assertj:assertj-core from 3.24.2 to 3.25.3
dependabot[bot] Feb 5, 2024
81e1c96
feat: add eip in standard library
arnaudroques Feb 6, 2024
306f8b2
feat: improve standard library
arnaudroques Feb 7, 2024
1c0c7d8
Add files via upload
theavege Feb 8, 2024
6d035c3
Merge pull request #1677 from theavege/add/sunlust
arnaudroques Feb 8, 2024
68fdb66
chore: version 1.2024.1
arnaudroques Feb 8, 2024
0ba45e0
Update puml-theme-sunlust.puml
theavege Feb 9, 2024
d443d23
Merge branch 'plantuml:master' into add/sunlust
theavege Feb 9, 2024
d65951f
feat: Update C4-PlantUML to v2.9.0
arnaudroques Feb 11, 2024
0975502
fix: update graphviz version check pattern
chenrui333 Feb 11, 2024
a65935c
Merge pull request #1684 from chenrui333/update-graphviz-version-dete…
arnaudroques Feb 11, 2024
36b1fe5
Merge pull request #1681 from theavege/add/sunlust
arnaudroques Feb 11, 2024
e11d974
refactor: place `net.sourceforge.plantuml.test` on `test.utils`
The-Lum Feb 12, 2024
29f90e5
Merge pull request #1620 from plantuml/dependabot/github_actions/acti…
arnaudroques Feb 13, 2024
75b00f0
Merge pull request #1626 from plantuml/dependabot/github_actions/acti…
arnaudroques Feb 13, 2024
e70f23b
refactor: Change `HelpTest` to `CommandHelpThemeTest` on a more accur…
The-Lum Feb 13, 2024
956e23c
Merge pull request #1644 from plantuml/dependabot/github_actions/acti…
arnaudroques Feb 13, 2024
7be4804
fix: emergency change to be compatible with `actions/labeler` v5
The-Lum Feb 13, 2024
af3c49c
docs: fix links _(due to emoji)_
The-Lum Feb 13, 2024
cfd3ad2
Merge pull request #1687 from The-Lum/ImproveDoc
arnaudroques Feb 13, 2024
4e5bf03
Merge branch 'master' into PatchBranch
arnaudroques Feb 13, 2024
17d317e
Merge pull request #1686 from The-Lum/PatchBranch
arnaudroques Feb 13, 2024
76d1daf
Merge pull request #1674 from plantuml/dependabot/gradle/org.assertj-…
arnaudroques Feb 13, 2024
ababa00
chore(deps): bump org.junit.jupiter:junit-jupiter from 5.10.1 to 5.10.2
dependabot[bot] Feb 13, 2024
ab60639
Merge pull request #1675 from plantuml/dependabot/gradle/org.junit.ju…
arnaudroques Feb 13, 2024
ab09e2e
feat: add `%get_all_theme` builtin function
The-Lum Feb 14, 2024
53bcc02
fix: typo on `GetAllThemeTest` filename
The-Lum Feb 14, 2024
ac8e785
Merge pull request #1689 from The-Lum/Random
arnaudroques Feb 14, 2024
cfa16d0
chore: version 1.2024.2
arnaudroques Feb 14, 2024
ad4a1bd
feat: adding undocumented support for gzip URL
arnaudroques Feb 15, 2024
c6f150f
chore: version 1.2024.3
arnaudroques Feb 15, 2024
4ce77d3
fix: suppress `@[start|end]uml` on `sunlust` theme
The-Lum Feb 16, 2024
99698d9
Merge pull request #1691 from The-Lum/PatchBranch
arnaudroques Feb 16, 2024
04f7187
refactor: remove dead code
arnaudroques Feb 16, 2024
ee43dd0
chore: fix some tests on Windows
arnaudroques Feb 16, 2024
8fe9fae
tests: add not working example about stdlib
The-Lum Feb 16, 2024
415886e
docs: add "PlantUML package and PlantUML on the GNU/Linux distributio…
The-Lum Feb 17, 2024
5fe5caf
Merge pull request #1692 from The-Lum/PatchBranch
arnaudroques Feb 20, 2024
2a96112
chore: improve error message when missing stdlib
arnaudroques Feb 20, 2024
c6f9684
Merge pull request #1693 from The-Lum/docs
arnaudroques Feb 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
58 changes: 38 additions & 20 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,55 @@
'm:release':
- 'CHANGELOG.md'
- 'gradle.properties'
- changed-files:
- any-glob-to-any-file:
- 'CHANGELOG.md'
- 'gradle.properties'

'm:docs':
- '*.md'
- 'docs/**/*'
- changed-files:
- any-glob-to-any-file:
- '*.md'
- 'docs/**/*'

'm:workflow':
- .github/**
- changed-files:
- any-glob-to-any-file:
- .github/**

'm:gradle':
- 'gradle*'
- 'gradle/**'
- '**/settings.gradle.*'
- '**/build.gradle.*'
- 'sjpp.jar'
- changed-files:
- any-glob-to-any-file:
- 'gradle*'
- 'gradle/**'
- '**/settings.gradle.*'
- '**/build.gradle.*'
- 'sjpp.jar'

'm:source':
- 'skin/**/*'
- 'src/**/*'
- 'stdlib/**/*'
- 'svg/**/*'
- 'themes/**/*'
- 'manifest.txt'
- changed-files:
- any-glob-to-any-file:
- 'skin/**/*'
- 'src/**/*'
- 'stdlib/**/*'
- 'svg/**/*'
- 'themes/**/*'
- 'manifest.txt'

'm:test':
- 'test/**/*'
- changed-files:
- any-glob-to-any-file:
- 'test/**/*'

'm:license':
- '**/*license.txt'
- changed-files:
- any-glob-to-any-file:
- '**/*license.txt'

'm:docker':
- Dockerfile
- changed-files:
- any-glob-to-any-file:
- Dockerfile

'm:native':
- .github/workflows/native-image.yml
- changed-files:
- any-glob-to-any-file:
- .github/workflows/native-image.yml
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:

- name: Set up java
if: needs.workflow_config.outputs.do_test_linux == 'true'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java_version }}
distribution: temurin
Expand All @@ -115,7 +115,7 @@ jobs:
run: gradle test --no-daemon -i

- name: Upload test reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: needs.workflow_config.outputs.do_test_linux == 'true'
with:
# Using github.run_number here to reduce confusion when downloading & comparing from several builds
Expand All @@ -132,7 +132,7 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Set up java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
run: |
echo "release_version=$(gradle properties -q | grep "version:" | awk '{print $2}')" >> $GITHUB_OUTPUT
- name: Cache libs
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: |
build/libs
Expand All @@ -195,7 +195,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
Expand All @@ -221,14 +221,14 @@ jobs:
uses: actions/checkout@v4

- name: Set up java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
cache: gradle

- name: Restore Libs cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: |
build/libs
Expand All @@ -244,7 +244,7 @@ jobs:
enableCrossOsArchive: true

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
# Using github.run_number here to reduce confusion when downloading & comparing artifacts from several builds
name: ${{ github.run_number }}-artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
4 changes: 2 additions & 2 deletions .github/workflows/native-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/cache/restore@v3
- uses: actions/cache/restore@v4
with:
path: |
build/libs
Expand All @@ -57,7 +57,7 @@ jobs:
native-image -H:ConfigurationFileDirectories=native-image-config-dir --no-fallback --report-unsupported-elements-at-runtime -jar "build/libs/plantuml-${{ inputs.release-version }}.jar" -H:Path="build/libs" -H:Name="plantuml-${{ matrix.platform }}-${{ inputs.release-version }}"

- name: Cache native image
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: "build/libs/plantuml-${{ matrix.platform }}-*"
key: "native-image-${{ matrix.platform }}-${{ github.run_id }}"
Expand Down
2 changes: 1 addition & 1 deletion BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Thank you for your interest in contributing to PlantUML! This guide will help you build the PlantUML project.

PlantUML can be built using either [Gradle](#building-plantuml-with-gradle) or [Ant](#building-plantuml-with-ant-alternative-method). It's recommended to use Gradle as the primary build tool for this project. You will find instructions for both methods, starting with Gradle.
PlantUML can be built using either [Gradle](#-building-plantuml-with-gradle) or [Ant](#-building-plantuml-with-ant-alternative-method). It's recommended to use Gradle as the primary build tool for this project. You will find instructions for both methods, starting with Gradle.

## ☕ Java Compatibility and Development Notes

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ PlantUML is a component that allows you to create various UML diagrams through s
- [SDL (Specification and Description Language)](http://plantuml.com/activity-diagram-beta#sdl)
- [Ditaa diagram](http://plantuml.com/ditaa)
- [Gantt diagram](http://plantuml.com/gantt-diagram)
- [Chronology diagram](http://plantuml.com/chronology-diagram)
- [MindMap diagram](http://plantuml.com/mindmap-diagram)
- [WBS (Work Breakdown Structure)](http://plantuml.com/wbs-diagram)
- [Mathematical Notations (AsciiMath, JLaTeXMath)](http://plantuml.com/ascii-math)
Expand Down
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ dependencies {
compileOnly("org.apache.ant:ant:1.10.14")

testImplementation("io.github.glytching:junit-extensions:2.6.0")
testImplementation("org.assertj:assertj-core:3.24.2")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.1")
testImplementation("org.assertj:assertj-core:3.25.3")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.2")
testImplementation("org.xmlunit:xmlunit-core:2.9.+")
if (JavaVersion.current().isJava8) {
testImplementation("org.mockito:mockito-core:4.+")
testImplementation("org.mockito:mockito-junit-jupiter:4.+")
Expand Down
97 changes: 97 additions & 0 deletions docs/PACKAGE_AND_DISTRIBUTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# PlantUML packages and PlantUML on the _[most popular]_ GNU/Linux distributions

## PlantUML packages

### GitHub _(The main PlantUML package repository)_
[![GitHub Release](https://img.shields.io/github/v/release/plantuml/plantuml)](https://github.com/plantuml/plantuml/releases/latest)

### Chocolatey
[![Chocolatey Version](https://img.shields.io/chocolatey/v/plantuml)](https://community.chocolatey.org/packages/plantuml)

### Docker
[![Docker Image Version](https://img.shields.io/docker/v/plantuml/plantuml)](https://github.com/plantuml/plantuml/pkgs/container/plantuml)

### Homebrew
[![homebrew version](https://img.shields.io/homebrew/v/plantuml)](https://formulae.brew.sh/formula/plantuml)

### Maven
[![Maven Central Version](https://img.shields.io/maven-central/v/net.sourceforge.plantuml/plantuml)](https://mvnrepository.com/artifact/net.sourceforge.plantuml/plantuml)

### Scoop
[![Scoop Version](https://img.shields.io/scoop/v/plantuml?bucket=extras)](https://scoop.sh/#/apps?q=plantuml)



## PlantUML on the _[most popular]_ GNU/Linux distributions

### [Alpine Linux](https://www.alpinelinux.org)
| Type | Link |
| ------- | ---- |
| Distribution | ![Alpine Linux](https://img.shields.io/badge/Alpine_Linux-%230D597F.svg?style=for-the-badge&logo=alpine-linux&logoColor=white) |
| Last PlantUML version | |
| Link | https://pkgs.alpinelinux.org/packages?name=plantuml&branch=edge |
| Specificity | |

### [Archlinux](https://archlinux.org)
| Type | Link |
| ------- | ---- |
| Distribution | ![Arch](https://img.shields.io/badge/Arch%20Linux-1793D1?logo=arch-linux&logoColor=fff&style=for-the-badge) |
| Last PlantUML version | [![Arch Linux package](https://img.shields.io/archlinux/v/extra/any/plantuml)](https://archlinux.org/packages/extra/any/plantuml/) |
| Link | https://archlinux.org/packages/extra/any/plantuml/ |
| Specificity | |

### [Debian](https://www.debian.org)
| Type | Link |
| ------- | ---- |
| Distribution | ![Debian](https://img.shields.io/badge/Debian-D70A53?style=for-the-badge&logo=debian&logoColor=white) |
| Last PlantUML version | [![Debian package](https://img.shields.io/debian/v/plantuml)](https://salsa.debian.org/debian/plantuml) |
| Link | https://salsa.debian.org/debian/plantuml |
| Specificity | https://salsa.debian.org/debian/plantuml/-/tree/master/debian |

### [Fedora](https://fedoraproject.org)
| Type | Link |
| ------- | ---- |
| Distribution | ![Fedora](https://img.shields.io/badge/Fedora-294172?style=for-the-badge&logo=fedora&logoColor=white) |
| Last PlantUML version | [![Fedora package](https://img.shields.io/fedora/v/plantuml)](https://src.fedoraproject.org/rpms/plantuml) |
| Link | https://src.fedoraproject.org/rpms/plantuml |
| Specificity | |

### [Gentoo](https://www.gentoo.org/)
| Type | Link |
| ------- | ---- |
| Distribution | ![Gentoo](https://img.shields.io/badge/Gentoo-54487A?style=for-the-badge&logo=gentoo&logoColor=white) |
| Last PlantUML version | |
| Link | https://packages.gentoo.org/packages/media-gfx/plantuml |
| Specificity | |

### [openSUSE](https://www.opensuse.org)
| Type | Link |
| ------- | ---- |
| Distribution | ![openSUSE](https://img.shields.io/badge/openSUSE-%2364B345?style=for-the-badge&logo=openSUSE&logoColor=white) |
| Last PlantUML version | |
| Link | https://build.opensuse.org/search?search_text=plantuml |
| Specificity | https://build.opensuse.org/package/show/Java:packages/plantuml <br> https://build.opensuse.org/package/show/home:mnhauke/plantuml |

### [SUSE](https://www.suse.com)
| Type | Link |
| ------- | ---- |
| Distribution | ![Suse](https://img.shields.io/badge/SUSE-0C322C?style=for-the-badge&logo=SUSE&logoColor=white) |
| Last PlantUML version | |
| Link | https://packagehub.suse.com/packages/plantuml/ |
| Specificity | |

### [Ubuntu](https://ubuntu.com)
| Type | Link |
| ------- | ---- |
| Distribution | ![Ubuntu](https://img.shields.io/badge/Ubuntu-E95420?style=for-the-badge&logo=ubuntu&logoColor=white) |
| Last PlantUML version | [![Ubuntu Package Version](https://img.shields.io/ubuntu/v/plantuml)](https://packages.ubuntu.com/search?keywords=plantuml&searchon=names&suite=all&section=all) |
| Link | https://packages.ubuntu.com/search?keywords=plantuml&searchon=names&suite=all&section=all |
| Specificity | |


# Reference and acknowledgement
- https://en.wikipedia.org/wiki/List_of_software_package_management_systems
- https://en.wikipedia.org/wiki/List_of_Linux_distributions
- https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/creating-a-default-community-health-file
- https://shields.io

2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Warning, "version" should be the same in gradle.properties and Version.java
# Any idea anyone how to magically synchronize those :-) ?
version = 1.2023.13beta3
version = 1.2024.4beta1
org.gradle.workers.max = 3
5 changes: 3 additions & 2 deletions plantuml-asl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ java {

dependencies {
compileOnly("org.apache.ant:ant:1.10.14")
testImplementation("org.assertj:assertj-core:3.24.2")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.1")
testImplementation("org.assertj:assertj-core:3.25.3")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.2")
testImplementation("org.scilab.forge:jlatexmath:1.0.7")
testImplementation("org.xmlunit:xmlunit-core:2.9.+")
}

repositories {
Expand Down
4 changes: 2 additions & 2 deletions plantuml-bsd/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ java {

dependencies {
compileOnly("org.apache.ant:ant:1.10.14")
testImplementation("org.assertj:assertj-core:3.24.2")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.1")
testImplementation("org.assertj:assertj-core:3.25.3")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.2")
testImplementation("org.scilab.forge:jlatexmath:1.0.7")
}

Expand Down
5 changes: 3 additions & 2 deletions plantuml-epl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ java {

dependencies {
compileOnly("org.apache.ant:ant:1.10.14")
testImplementation("org.assertj:assertj-core:3.24.2")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.1")
testImplementation("org.assertj:assertj-core:3.25.3")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.2")
testImplementation("org.scilab.forge:jlatexmath:1.0.7")
testImplementation("org.xmlunit:xmlunit-core:2.9.+")
}

repositories {
Expand Down
5 changes: 3 additions & 2 deletions plantuml-gplv2/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ java {

dependencies {
compileOnly("org.apache.ant:ant:1.10.14")
testImplementation("org.assertj:assertj-core:3.24.2")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.1")
testImplementation("org.assertj:assertj-core:3.25.3")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.2")
testImplementation("org.scilab.forge:jlatexmath:1.0.7")
testImplementation("org.xmlunit:xmlunit-core:2.9.+")
}

repositories {
Expand Down
5 changes: 3 additions & 2 deletions plantuml-lgpl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ java {

dependencies {
compileOnly("org.apache.ant:ant:1.10.14")
testImplementation("org.assertj:assertj-core:3.24.2")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.1")
testImplementation("org.assertj:assertj-core:3.25.3")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.2")
testImplementation("org.scilab.forge:jlatexmath:1.0.7")
testImplementation("org.xmlunit:xmlunit-core:2.9.+")
}

repositories {
Expand Down
5 changes: 3 additions & 2 deletions plantuml-mit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ java {

dependencies {
compileOnly("org.apache.ant:ant:1.10.14")
testImplementation("org.assertj:assertj-core:3.24.2")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.1")
testImplementation("org.assertj:assertj-core:3.25.3")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.2")
testImplementation("org.scilab.forge:jlatexmath:1.0.7")
testImplementation("org.xmlunit:xmlunit-core:2.9.+")
}

repositories {
Expand Down
3 changes: 2 additions & 1 deletion src/com/plantuml/api/cheerpj/v1/DirectDraw.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
import net.sourceforge.plantuml.BlockUmlBuilder;
import net.sourceforge.plantuml.ErrorUml;
import net.sourceforge.plantuml.FileFormat;
import net.sourceforge.plantuml.FileFormatOption;
import net.sourceforge.plantuml.core.Diagram;
import net.sourceforge.plantuml.error.PSystemError;
import net.sourceforge.plantuml.klimt.color.ColorMapper;
Expand Down Expand Up @@ -122,7 +123,7 @@ public static Object draw(String mode, String text) {
ug.apply(back).apply(back.bg()).draw(URectangle.build(frameWidth, frameHeight));
WasmLog.log("...drawing...");

system.exportDiagramGraphic(ug);
system.exportDiagramGraphic(ug, new FileFormatOption(FileFormat.PNG));

WasmLog.log("done!");

Expand Down
Loading
Loading