Skip to content

Commit c3b1f42

Browse files
v4.1.6
1 parent dbf05ab commit c3b1f42

380 files changed

Lines changed: 11253 additions & 7764 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,17 @@ SysMD Notebook is a work in progress and does not (yet) support the full range o
8484
However, a significant subset is supported with a focus on the intended use case.
8585
The following gives some indications on what is supported:
8686

87-
- _Supported_: modeling of packages, parts, ports, attributes, calculations, expressions, interfaces, requirements and constraints; both usages and definitions.
88-
- _Not supported_: modeling of automata, states, time slices, user-defined keywords, etc.
87+
- _Supported_: modeling of packages, items, parts, ports, interfaces, connections, attributes, calculations, expressions, requirements, constraints, states; both usages and definitions.
88+
- _Not supported_: time slices, user-defined keywords, views, etc.
8989

9090
Note that automata and states might compile, but the constraint propagation mechanism does not use the respective parts properly.
9191
Also, KerML is implemented with support for features, classes, packages, expressions, etc. -- but with some restrictions for expressions.
9292

9393
# Release notes (only major versions)
9494

95-
- SysMD 4.0 implements parts of the platform-specific REST API of SysML v2 (projects endpoint, but not versioning). For this purpose, SysMD 4.0 includes Spring Boot for the REST API.
95+
- SysMD 4.0+ implements parts of the platform-specific REST API of SysML v2 (projects endpoint, but not versioning).
96+
It permits access to the local projects and elements.
97+
For this purpose, SysMD 4.0 includes Spring Boot for the REST API.
9698

9799
# Acknowledgements
98100

build.gradle.kts

Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import org.jetbrains.compose.ExperimentalComposeLibrary
1414
* - also set the value standalone according to your setup
1515
*/
1616
group = "com.github.tukcps"
17-
version = "4.1.5" // must be number.number.number
17+
version = "4.1.6" // must be number.number.number
1818
val aaddVersion = "0.1.11"
19-
val sysmlapiVersion = "3.9.5"
19+
val sysmlapiVersion = "3.9.12"
2020
val useMavenAADD = true
2121
val useMavenSysMLAPI = true
2222

@@ -31,11 +31,11 @@ if (JavaVersion.current() < JavaVersion.VERSION_21) {
3131
// Plugins needed: id and versions.
3232
plugins {
3333
// Plugin that checks for updates of dependencies
34-
id("com.github.ben-manes.versions") version "0.52.0"
34+
id("com.github.ben-manes.versions") version "0.53.0"
3535
id("idea")
36-
kotlin("jvm") version "2.2.0"
37-
kotlin("plugin.serialization") version "2.2.10"
38-
id("org.springframework.boot") version "3.5.4"
36+
kotlin("jvm") version "2.2.21"
37+
kotlin("plugin.serialization") version "2.2.21"
38+
id("org.springframework.boot") version "4.0.0"
3939
id("io.spring.dependency-management") version "1.1.7"
4040
alias(libs.plugins.jetbrainsCompose) apply true
4141
alias(libs.plugins.compose.compiler) apply true
@@ -89,20 +89,20 @@ dependencies {
8989
implementation("org.hibernate.validator:hibernate-validator:9.0.1.Final")
9090

9191
// Open API / Swagger
92-
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.9")
92+
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.13")
9393

9494
// Needed for annotations for Spring Boot in package rest
9595
implementation("com.fasterxml.jackson.core:jackson-databind")
9696
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
9797
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
9898

9999
// Parsing markdown to AST
100-
implementation("org.commonmark:commonmark:0.25.1")
101-
implementation("org.commonmark:commonmark-ext-gfm-tables:0.25.1")
102-
implementation("org.commonmark:commonmark-ext-image-attributes:0.25.1")
103-
implementation("org.commonmark:commonmark-ext-yaml-front-matter:0.25.1")
104-
implementation("org.commonmark:commonmark-ext-gfm-strikethrough:0.25.1")
105-
implementation("org.commonmark:commonmark-ext-ins:0.25.1")
100+
implementation("org.commonmark:commonmark:0.26.0")
101+
implementation("org.commonmark:commonmark-ext-gfm-tables:0.26.0")
102+
implementation("org.commonmark:commonmark-ext-image-attributes:0.26.0")
103+
implementation("org.commonmark:commonmark-ext-yaml-front-matter:0.26.0")
104+
implementation("org.commonmark:commonmark-ext-gfm-strikethrough:0.26.0")
105+
implementation("org.commonmark:commonmark-ext-ins:0.26.0")
106106

107107
// Some more icons ...
108108
implementation(compose.components.resources)
@@ -118,7 +118,7 @@ dependencies {
118118
implementation("org.apache.xmlgraphics:batik-codec:1.19")
119119

120120
// Use the Kotlin JUnit integration.
121-
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5:2.2.0")
121+
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5:2.2.20")
122122

123123
// compose ui tests
124124
testImplementation(kotlin("test"))
@@ -128,11 +128,17 @@ dependencies {
128128

129129
@OptIn(ExperimentalComposeLibrary::class)
130130
testImplementation(compose.uiTest)
131-
testImplementation(compose.desktop.currentOs)
132131
testImplementation(compose.desktop.uiTestJUnit4)
133-
testImplementation(compose.desktop.currentOs)
134132
}
135133

134+
/**
135+
* Prevents compose desktop to be twice in jar (via spring boot and direct)
136+
*/
137+
tasks.named<org.springframework.boot.gradle.tasks.bundling.BootJar>("bootJar") {
138+
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
139+
}
140+
141+
136142
// Don't use the regular jar as the project is a spring boot project.
137143
tasks.named<Jar>("jar") {
138144
enabled = false
@@ -206,3 +212,15 @@ tasks.register<Exec>("sysMDPackage") {
206212
// Finally, execute jPackage command line
207213
commandLine(args)
208214
}
215+
216+
/**
217+
* Clean also deletes the log files.
218+
*/
219+
tasks.named<Delete>("clean") {
220+
delete(
221+
"sysmd.log",
222+
fileTree(projectDir) {
223+
include("sysmd.log.*.gz") // z. B. sysmd.log.2025-11-25.gz
224+
}
225+
)
226+
}

0 commit comments

Comments
 (0)