1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-28 04:55:58 +00:00
Commit Graph

1036 Commits

Author SHA1 Message Date
soloturn
e4a560a998 permit "mvn test" with java8.
activate javac --release only on higher java versions. it allows to compile
with java11+, but permits afterwards running tests with java8 to make sure
rendering errors can be catched.

parmit the syntax of the source to include java17, and tell the user about
it instead of just failing the compilation.
2022-02-10 10:23:15 +01:00
PlantUML
4397977d8a
Merge pull request #904 from soloturn/master
github workflow with various release again
2022-02-09 14:14:03 +01:00
soloturn
2baa696e60 github workflow with various release again
it runs on all platforms with java-17, but the javac release flag
is set to 8, 11, and 17 respectively. artifact upload happens
from latest ubuntu LTS, 20.04, java-8.
2022-02-08 12:53:41 +01:00
PlantUML
f67ebad086
Merge pull request #903 from soloturn/gradle
gradle, allow java17 binary
2022-02-08 12:39:42 +01:00
soloturn
e15c58d9a2 allow "gradle build -PjavacRelease=17" to build java-17 binary
for gradle now one could do:
gradle clean build -x test -x javaDoc -PjavacRelease=17

for maven something like this works to build a different target binary:
mvn clean package -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dmaven.compiler.release=17
2022-02-08 11:12:24 +01:00
soloturn
ecc8dfe60a gradle javadoc, addBooleanOption instead of addStringOption 2022-02-08 11:11:50 +01:00
PlantUML
065e2b34d9
Merge pull request #899 from soloturn/master
use javac --release, java8 minimum version
2022-02-07 09:31:12 +01:00
soloturn
2bdb2f8300 github workflow --release flag needs build with 11
https://github.com/plantuml/plantuml/issues/898
2022-02-05 19:04:17 +01:00
soloturn
856cef2478 javac --release to build for java8, with java11+
javac since java9 has a new flat --release to build a binary which can be run
with an older java. the public API of that older release must be followed as
well.

the flags used before, -source, -target do not do this. therefor it got
unnoticed that plantuml did not compile and run in java7 any more, despite
beeing compiled for for java7.

https://github.com/plantuml/plantuml/issues/898
2022-02-05 19:04:17 +01:00
PlantUML
88947b9dc7
Merge pull request #901 from soloturn/gradle
simpler syntax, clazz.newInstance deprecated with java17
2022-02-04 15:29:45 +01:00
soloturn
90fd3b5a51 simpler syntax, clazz.newInstance deprecated with java17 2022-02-04 15:21:27 +01:00
PlantUML
b29fc4a21a
Merge pull request #895 from soloturn/java8
source code java8 compatible, adjust build files to reflect this
2022-02-04 09:31:15 +01:00
soloturn
c4cbef9132 remove idea kludge as this is default now 2022-02-04 06:59:55 +01:00
soloturn
5476a75602 source code java8 compatible 2022-02-04 06:57:48 +01:00
PlantUML
7ea36d5090
Merge pull request #896 from soloturn/java7
gradle, source code java7 compatible
2022-02-04 00:14:41 +01:00
PlantUML
39b5adaf65
Merge pull request #897 from soloturn/gradle
simplify gradle structure, make intellij global reformat stop for SVG
2022-02-04 00:12:27 +01:00
soloturn
2a43a7f616 simplify gradle structure 2022-02-04 00:02:32 +01:00
soloturn
a6f1f58300 .editorconfig ignore ext, use intellij notation, otherwise it does not kick in
i placed a christmas wish request that intellij changes its default to respect an
empty .editorconfig but chances seem to be slim they'd really do it:
https://youtrack.jetbrains.com/issue/IDEA-287505.

give in and use an intellij property to stop it reformatting SVG on global reformat.
2022-02-04 00:01:29 +01:00
soloturn
a0d02b4f06 gradle, source code java7 compatible 2022-02-03 23:39:24 +01:00
Arnaud Roques
614898c1b9 Merge branch 'master' of https://github.com/plantuml/plantuml 2022-02-03 11:19:20 +01:00
Arnaud Roques
db76ab28b5 Fix style issue and add splitstr function 2022-02-03 11:18:56 +01:00
PlantUML
f1305877ca
Merge pull request #894 from plantuml/revert-892-gradle
Revert "improve java17, intellij compatibility"
2022-02-03 10:37:44 +01:00
PlantUML
21ae6a09b7
Revert "improve java17, intellij compatibility" 2022-02-03 10:37:29 +01:00
PlantUML
be67cbd3ff
Merge pull request #892 from soloturn/gradle
improve java17, intellij compatibility
2022-02-03 10:19:20 +01:00
soloturn
f1d12093c6 simpler syntax, clazz.newInstance deprecated with java17 2022-02-03 08:18:36 +01:00
soloturn
89cb3c272c simplify gradle structure 2022-02-03 08:18:36 +01:00
soloturn
e4ca20f27e .editorconfig ignore ext, use intellij notation, otherwise it does not kick in 2022-02-03 08:18:36 +01:00
Arnaud Roques
8ae721e3d2 Version 1.2022.1 2022-02-01 21:21:45 +01:00
PlantUML
cee57b06ba
Merge pull request #887 from jansende/patch-1
Added <<start>> Stereotype
2022-01-31 09:27:20 +01:00
Jan Sende
b84c1670d8
Added <<start>> Stereotype
Currently the state diagram only supports <<end>> as a stereotype for creating named end points. However, the same functionality is missing for starting points. This commit adds this ability.
2022-01-31 11:52:24 +09:00
Arnaud Roques
f0a3fbf548 Add two json functions 2022-01-29 19:00:48 +01:00
Arnaud Roques
9d611cf988 wip on prefers-color-scheme:dark 2022-01-28 22:45:34 +01:00
PlantUML
ed2535bd75
Merge pull request #885 from soloturn/gradle
update plugin versions, turn down javadoc warnings
2022-01-27 19:15:21 +01:00
soloturn
44d46ea2ee update plugin versions, turn down javadoc warnings 2022-01-27 19:08:19 +01:00
PlantUML
2628400b89
Merge pull request #884 from soloturn/gradle
editorconfig fix syntax for pom, yml,  should not touch svg
2022-01-27 18:25:47 +01:00
Arnaud Roques
5ad243efd4 wip 2022-01-27 18:22:47 +01:00
Arnaud Roques
6fb89e85e7 Merge branch 'wip' 2022-01-27 18:08:23 +01:00
Arnaud Roques
ddaacdf3f7 wip 2022-01-27 18:08:03 +01:00
soloturn
c019d3d559 editorconfig fix syntax for pom, yml, should not touch svg 2022-01-27 17:26:07 +01:00
PlantUML
6fe22da334
Merge pull request #871 from soloturn/gradle
valueOf instead of new
2022-01-27 09:41:45 +01:00
soloturn
f0c74f747f tab is the default, exempt pom, yml 2022-01-27 09:00:05 +01:00
soloturn
703b83a5ac pendingStart < pause.pos1 always true in Segment.java 2022-01-27 06:42:55 +01:00
Arnaud Roques
9ae7706e5c Add frames and state diagrams 2022-01-26 20:41:21 +01:00
Arnaud Roques
3dac7c05ce wip 2022-01-26 20:04:21 +01:00
PlantUML
61a4f6c182
Update README.md 2022-01-25 10:35:42 +01:00
PlantUML
bf77c5666b
Update README.md 2022-01-25 10:33:33 +01:00
soloturn
457197c49f valueOf or auto-unbox instead of new
new Double and similar got a removal warning in java-17, do Double.valueOf,
Double.parseDouble and similar for other types.

.editorconfig caused some trimming of trailing whitespaces.

remove boxing
2022-01-22 04:30:44 +01:00
PlantUML
80e3f17c0e
Merge pull request #868 from soloturn/gradle
github workflow can use gradle.
2022-01-21 17:40:56 +01:00
PlantUML
d1835e24b7
Create SECURITY.md 2022-01-21 17:26:43 +01:00
soloturn
1b25c3c00b github workflow can use gradle.
workflow and scripts are duplicated so nothing existing breaks.
ci-gradle triggers are commented apart from the workflow trigger
which allows manual start, so one can compare artifacts.
2022-01-20 06:45:51 +01:00