Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
225 commits
Select commit Hold shift + click to select a range
4497ed4
Updated expression language
arminzavada Mar 31, 2025
68fe111
Ignore non-oxsts packages for now
arminzavada Mar 31, 2025
c7b70fc
Updated contributors list
arminzavada Aug 24, 2025
9e6e9ec
Added supports
arminzavada Aug 24, 2025
ab21770
Implemented new language syntax and most of the semantics
arminzavada Aug 24, 2025
2177494
Added semantic highlighting to the LSP server.
arminzavada Aug 24, 2025
7e2f5c5
Added new keywords and missing configuration
arminzavada Aug 24, 2025
5f74869
Updated Gamma frontend to the new language
arminzavada Aug 24, 2025
f7636ef
Updated model with RedefinableDeclaration
arminzavada Aug 28, 2025
20f8180
Added ExpressionEvaluator classes
arminzavada Aug 28, 2025
7c892d9
Replaced magic string with constants
arminzavada Aug 28, 2025
9332f7e
Added initial code lens and command providers to LSP
arminzavada Aug 28, 2025
49d858b
Updated dependencies
arminzavada Sep 19, 2025
0f15d49
Added .gitattributes file
arminzavada Sep 21, 2025
8989d1c
Added classpath-resource based library store
arminzavada Sep 21, 2025
32b176b
Added "prop" default name
arminzavada Sep 21, 2025
595d44c
Scoping now short-circuits on class and feature decl types
arminzavada Sep 21, 2025
c2bf830
Updated OXSTS language to be more consistent
arminzavada Sep 21, 2025
5af3b9c
Split semantifyr into semantics and semantifyr-cli
arminzavada Sep 21, 2025
3839c1b
Renamed Package to OxstsModelPackage
arminzavada Sep 21, 2025
0914c60
Added InlinedOxsts as textual syntax
arminzavada Sep 21, 2025
54fa050
Updated OxstsFormatter to the new syntax
arminzavada Sep 21, 2025
ceccc0d
Removed outdated validation rules
arminzavada Sep 21, 2025
82561b8
Updated formatter
arminzavada Sep 21, 2025
bbe038e
Implemented basic inlining with artifact saving
arminzavada Sep 21, 2025
bec919c
Ran model formatting
arminzavada Sep 21, 2025
f96f0b3
Cleaned some of the project dependencies
arminzavada Sep 21, 2025
97ac593
Implemented naive comparison evaluator
arminzavada Sep 22, 2025
0cf8a9f
Optional new line should be no new line by default
arminzavada Sep 22, 2025
cafd236
Optimization steps now call artifact commit one-by-one
arminzavada Sep 22, 2025
a6a79ff
Implemented callExpression inlining
arminzavada Sep 22, 2025
f7b2f3a
Added automatic nested sequence simplification during inlining
arminzavada Sep 22, 2025
648e686
Added artifact finalization
arminzavada Sep 22, 2025
dc2fc79
Loop variables are not contextual
arminzavada Sep 22, 2025
5f73062
Added elementReference factory
arminzavada Sep 22, 2025
027128c
Renamed gamma-frontend to gamma-cli
arminzavada Sep 22, 2025
66d7bb2
Formatted Gamma library
arminzavada Sep 22, 2025
23c811e
Fixed Gamma OXSTS serializer
arminzavada Sep 30, 2025
69580a4
Fixed redefine keyword handling
arminzavada Sep 30, 2025
71e2edf
Updated copyright
arminzavada Oct 3, 2025
eb60253
Applied linting
arminzavada Oct 3, 2025
1bd6e6d
Fixed gamma semantic model errors
arminzavada Oct 3, 2025
5c247bb
Removed children and parent builtin features for now
arminzavada Oct 3, 2025
b2048d5
superSet is now singular
arminzavada Oct 3, 2025
0802254
Renamed expressionTypeEvaluator#evaluate to be consistent
arminzavada Oct 3, 2025
76535e7
Superset is now singular
arminzavada Oct 3, 2025
603ab4b
Implemented functional inlining with expression rewrite
arminzavada Oct 3, 2025
5c2169f
Fixed incorrect parts of the Gamma Semantic Library
arminzavada Oct 7, 2025
3f4a9e4
Simplified Gamma semantics and models
arminzavada Oct 7, 2025
f3c41fb
Inlined Oxsts models import builtin
arminzavada Oct 7, 2025
e539e74
Added annotation formatting
arminzavada Oct 7, 2025
1975c97
Added $ to id temporarily
arminzavada Oct 7, 2025
8517899
Set rootInstance to be transient
arminzavada Oct 7, 2025
ecb41b4
Fixed isConstantFalseAssumption
arminzavada Oct 7, 2025
963b402
Added default property handling
arminzavada Oct 7, 2025
4cabc31
Simplified call inlining
arminzavada Oct 7, 2025
371a4af
Implemented initial variable instantiation
arminzavada Oct 7, 2025
0e94701
Fixed non-reference feature evaluation
arminzavada Oct 7, 2025
83d9a00
Fixed negative number handling
arminzavada Oct 7, 2025
6e77cc3
Implemented full instance deflation
arminzavada Oct 7, 2025
30b52c5
Implemented initial Xsts transformer
arminzavada Oct 7, 2025
4a240d5
Made rootFeature optional
arminzavada Oct 7, 2025
b2bbc1a
Disabled caching during compilation
arminzavada Oct 7, 2025
7d7684f
Added missing keywords
arminzavada Oct 7, 2025
ca890e0
Temporarily disable clients
arminzavada Oct 7, 2025
0afe618
Renamed transitions
arminzavada Oct 7, 2025
107ed98
Added semantifyr-cli as dependency
arminzavada Oct 7, 2025
36dbd4d
Constructed LiteralIntegers are now well-formed
arminzavada Oct 7, 2025
fc89117
Introduced the CompilationScope Guice Scope
arminzavada Oct 7, 2025
ac5e4db
Introduced the ProgressContext to track progress
arminzavada Oct 7, 2025
6c08792
Restructured the ide packages
arminzavada Oct 7, 2025
f3c15f6
Added the WorkManager to track LSP work
arminzavada Oct 7, 2025
830c1be
Introduced the PausableRequestManager
arminzavada Oct 7, 2025
388ccbd
Refactored Command handling
arminzavada Oct 7, 2025
0e70873
Reduced the amount of exported elements to the resource descr.
arminzavada Oct 8, 2025
c81626b
Re-implemented XSTS language support
arminzavada Oct 8, 2025
6c39f0f
Fixed exception when exporting elements of empty resource
arminzavada Oct 8, 2025
0d77b5a
Fixed Anything::member accesses in BuiltinSymbolResolver
arminzavada Oct 8, 2025
a7d16de
Updated the XSTS language
arminzavada Oct 9, 2025
2b61514
Implemented rudimentary verification of VerificationCases
arminzavada Oct 9, 2025
8ff317f
Renamed some transitions and added output reset
arminzavada Oct 9, 2025
4a9e6e2
Fixed incorrect inline for formatting
arminzavada Oct 9, 2025
8b55201
Added the ability to attach to XSTS LSP Server
arminzavada Oct 9, 2025
5b576a0
Refactored call inlining to use a structured visitor pattern
arminzavada Oct 9, 2025
bb46bcc
Disabled loopVar formatting
arminzavada Oct 9, 2025
9593968
Temporarily removed logging from executor
arminzavada Oct 10, 2025
6f0100d
Added reachable-unreachable to Gamma
arminzavada Oct 10, 2025
97ec449
Fixed scope of local variables
arminzavada Oct 10, 2025
32dfecc
Fixed local variable inlining
arminzavada Oct 10, 2025
c20e6c7
Extracted isAlwaysExecutable to Visitor
arminzavada Oct 10, 2025
fa9fdd6
Extracted ChoiceElseRewriter to Visitor
arminzavada Oct 10, 2025
e175e48
Fixed resource uri path on Windows
arminzavada Oct 10, 2025
d94d834
Added variable type inference
arminzavada Oct 10, 2025
a1c06fb
Added verification run result
arminzavada Oct 10, 2025
e47f0b2
Variable type is not inferred in inlined oxsts
arminzavada Oct 10, 2025
64fb61e
Removed task cancellation
arminzavada Oct 10, 2025
2f4726b
Implemented VSCode test integration
arminzavada Oct 10, 2025
d9b01e0
Implemented go to redefined
arminzavada Oct 12, 2025
f2d003f
Implemented non-cancelling request manager
arminzavada Oct 12, 2025
405e98d
Refactored OxstsTestController
arminzavada Oct 12, 2025
4c83026
Added @Shared containment feature annotation
arminzavada Oct 12, 2025
46cfb68
Fixed OxstsLanguageClient
arminzavada Oct 12, 2025
5881838
Long-running commands must pause the request manager!
arminzavada Oct 12, 2025
33256e4
Fixed missing expression inlining
arminzavada Oct 12, 2025
53e888e
Added Ports and Interfaces to Gamma
arminzavada Oct 12, 2025
ec8149c
Fixed incorrect subset feature evaluation
arminzavada Oct 12, 2025
326b022
Added missing ParameterDeclaration type handling
arminzavada Oct 12, 2025
aa4e897
Added Global scope to Local scope
arminzavada Oct 12, 2025
c636761
BuiltInAnnotation handler update
arminzavada Oct 12, 2025
f86fd54
Switched to a pausable executor implementation as it is more stable
arminzavada Oct 13, 2025
6b49cda
CommandProgressContext now checks the normal cancel indicator as well
arminzavada Oct 13, 2025
288da3a
Implemented theta executor cancellation
arminzavada Oct 13, 2025
4e8fb4a
Added 'guard' operation to simplify the 'choice-else' calculation
arminzavada Oct 13, 2025
b98abb0
Implemented multithreaded serialization
arminzavada Oct 13, 2025
68681fe
Fixed incorrect nested choice flattening
arminzavada Oct 13, 2025
db7d904
Fixed incorrect expression evaluation
arminzavada Oct 13, 2025
b6b08c6
Added Gamma LSP attachment
arminzavada Oct 13, 2025
18a685f
Propagate cancellation token
arminzavada Oct 13, 2025
870695f
Configurable state serialization
arminzavada Oct 13, 2025
80837b3
Updated the Gamma frontend language and library
arminzavada Oct 13, 2025
0a7cc7e
Added test Gamma models
arminzavada Oct 13, 2025
196beaf
Removed guards and choice-else branches
arminzavada Oct 14, 2025
8e1b1cd
Implemented Gamma state transition without choice-else
arminzavada Oct 14, 2025
0cf0166
Added additional Simple test cases
arminzavada Oct 14, 2025
5f3c09b
At least one of the parallel regions must be executed
arminzavada Oct 14, 2025
b78df1d
Fixed unsafe Crossroads model
arminzavada Oct 14, 2025
9d0bd17
Implemented configurable OxstsLibraryProvider
arminzavada Oct 14, 2025
070ea8d
Removed serializer worker
arminzavada Oct 14, 2025
e8373c5
Added comments for implemented bottom-up priority
arminzavada Oct 14, 2025
dfe8d97
Implemented interruptable requests and better management
arminzavada Oct 15, 2025
8c82688
Refactored Theta executor
arminzavada Oct 15, 2025
616cffe
Readded try-catch around stdout saving
arminzavada Oct 15, 2025
2869582
Reacquire the read lock before returning
arminzavada Oct 15, 2025
a38a6ed
Fixed navigation to nameless elements
arminzavada Oct 15, 2025
bf0a1f1
Re-added Cex language module
arminzavada Oct 15, 2025
ab0cea4
Do not export elements from inlined oxsts resources
arminzavada Oct 19, 2025
cfb148d
Refactor DomainMemberCollection calculation
arminzavada Oct 19, 2025
9941f43
Added EnumLiteral evaluation
arminzavada Oct 19, 2025
5d54922
Failure is now propagated
arminzavada Oct 19, 2025
3b156a1
Extracted region scheduling logic
arminzavada Oct 21, 2025
d752949
Added statechart region scheduling order
arminzavada Oct 21, 2025
f388116
Disable filtering scope for now
arminzavada Oct 21, 2025
2cf4d59
Do no duplicate root-level scope
arminzavada Oct 21, 2025
518afd3
Renamed Oxsts transformer to OxstsClassInliner and fixed incorrect do…
arminzavada Oct 21, 2025
4ff7cb4
Disabled the CEX language
arminzavada Oct 21, 2025
13a9a43
Added on-file-change test refresh
arminzavada Oct 21, 2025
7d4b76c
Added Gamma LSP attachment run config
arminzavada Oct 21, 2025
29a4314
Using new OxstsClassInliner name
arminzavada Oct 21, 2025
606e356
Implemented detection of deleted subdirectory resources
arminzavada Oct 21, 2025
84fa119
Added better exception summary for proxy-related resolution errors
arminzavada Oct 21, 2025
f9b5800
Updated the CEX language syntax
arminzavada Oct 21, 2025
b23d693
Added more portfolio configs
arminzavada Oct 22, 2025
f4e50d3
Added limited parallelism for the executed verifications
arminzavada Oct 22, 2025
b571f96
Updated run configurations
arminzavada Oct 27, 2025
d87f785
Refactored OxstsVerifier and Inliner
arminzavada Oct 27, 2025
5327b4d
One compilation scope per thread
arminzavada Oct 27, 2025
2c44576
Simplified Semantifyr loader
arminzavada Oct 27, 2025
2d1f1d2
Removed CEX-related code
arminzavada Oct 27, 2025
98d2329
Removed semantifyr directory
arminzavada Oct 27, 2025
3574f40
Added license header to .gitattributes
arminzavada Oct 27, 2025
e389299
Ensure all resource uris have authority
arminzavada Oct 27, 2025
e177b5a
Implemented correct quoted id handling
arminzavada Oct 27, 2025
eb53dd4
Added oxsts.lang test infrastructure
arminzavada Oct 27, 2025
abee7ab
Added simple validation checks
arminzavada Oct 27, 2025
b3938de
Added simple quick fixes
arminzavada Oct 27, 2025
67bbf16
Moved the OxstsUtils to the lang project
arminzavada Nov 4, 2025
0c20b98
Added Global Features
arminzavada Nov 4, 2025
ac6171e
Added (o)xsts to dictionary
arminzavada Nov 4, 2025
20d913d
Updated syntax
arminzavada Nov 4, 2025
6a193ea
Updated gamma semantic library
arminzavada Nov 4, 2025
8acadac
Do not store LSP Server logs
arminzavada Nov 6, 2025
5a59faf
Fixed expected result check
arminzavada Nov 8, 2025
334180a
Fixed OXSTS formatting
arminzavada Nov 8, 2025
679c416
Added redefinition aware name proposal
arminzavada Nov 9, 2025
d4fdd96
Implemented witness back annotation
arminzavada Nov 9, 2025
f9ce8b8
Added redefinition validation
arminzavada Nov 9, 2025
be2eed5
Ran formatting on library
arminzavada Nov 9, 2025
e2f868e
Added name shadowing validation check
arminzavada Nov 9, 2025
2db06c7
Added call argument validator
arminzavada Nov 12, 2025
95a64d4
Removed exceptions from handlers
arminzavada Nov 12, 2025
2aa06aa
Moved MetaConstantExpressionEvaluator
arminzavada Nov 12, 2025
f5e2df4
Readded logging to prevent LSP IO errors
arminzavada Nov 12, 2025
84f2157
Added RedefinersFinder command and implementation
arminzavada Nov 12, 2025
c78135e
Fixed used cache
arminzavada Nov 12, 2025
ab0c071
Inlined field initialization
arminzavada Nov 19, 2025
112d5b8
Introduced Nothing evaluation
arminzavada Nov 19, 2025
d3c0d2a
Introduced the FeatureEvaluator
arminzavada Nov 19, 2025
9204ffb
Added better error messages
arminzavada Nov 19, 2025
3a46ba6
Fixed incorrect validated resource set
arminzavada Nov 19, 2025
4b41e51
Witnesses may have length of zero
arminzavada Nov 19, 2025
3e196c6
Also map global features
arminzavada Nov 19, 2025
af678e6
Implemented simple variable optimization
arminzavada Nov 20, 2025
d83e221
Removed duplicate Timout class
arminzavada Nov 20, 2025
e6c6451
Simplified Trigger code
arminzavada Nov 20, 2025
9aa4925
Fixed incorrect shadowing validation
arminzavada Nov 20, 2025
c13594e
Single assignment in witnesses
arminzavada Nov 20, 2025
145f5b2
Additional resolveOrNull functions
arminzavada Nov 24, 2025
2feb06d
Refactored feature evaluation and context finding
arminzavada Nov 24, 2025
adf0685
Theta executor is now singleton
arminzavada Nov 24, 2025
cc8eac0
Concretized port features
arminzavada Nov 24, 2025
29fd1b7
Set flatten-depth to zero to avoid Theta bug
arminzavada Nov 24, 2025
393555f
Close after done
arminzavada Nov 24, 2025
7608480
Use AssistedInjection to use immutable property
arminzavada Nov 25, 2025
73c2480
Fixed concurrent modification exception
arminzavada Nov 25, 2025
763ccf7
Implemented ElementValueEvaluator
arminzavada Nov 25, 2025
c246344
Implemented derived opposite feature evaluation
arminzavada Nov 25, 2025
6702adc
Implemented SysML v2 semantics
arminzavada Nov 25, 2025
959a629
Implemented opposite validation
arminzavada Nov 25, 2025
89ec8c1
Fixed transitions opposite
arminzavada Nov 25, 2025
426e68c
Only clear the library if it exists
arminzavada Nov 25, 2025
9e69d0b
Ignoring *.lsp.log files
arminzavada Nov 25, 2025
cd0bf01
Implemented abstract keyword and validation
arminzavada Nov 28, 2025
5a67b65
Added ShellBasedThetaExecutor
arminzavada Nov 28, 2025
fa11667
Added abstract classes to Gamma semantics
arminzavada Nov 28, 2025
a4f4e99
Refactored theta execution and verification
arminzavada Nov 30, 2025
371d8ce
Implemented simple Theta TRACEGEN
arminzavada Nov 30, 2025
440b167
Added Semaphore-based verification limit
arminzavada Nov 30, 2025
7245246
Fixed witness serialization
arminzavada Nov 30, 2025
d3e47e8
Added command to the output logs
arminzavada Nov 30, 2025
fe7d601
Set bundle output location
arminzavada Nov 30, 2025
b36ef8d
Added abstract elements
arminzavada Nov 30, 2025
48d4431
Implemented trace witness backannotation
arminzavada Nov 30, 2025
148f464
Fixed closed output stream error
arminzavada Nov 30, 2025
f581eb9
Added default return true
arminzavada Nov 30, 2025
8b5341a
Initial implementation of Parallel SysML v2 states
arminzavada Nov 30, 2025
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
  •  
  •  
  •  
13 changes: 13 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# SPDX-FileCopyrightText: 2023-2025 The Semantifyr Authors
#
# SPDX-License-Identifier: EPL-2.0

* text

./gradlew text eol=lf

# These are Windows script files and should use crlf
*.bat text eol=crlf

# Binary files should be left untouched
*.jar binary
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
.gradle/
/**/build/
.kotlin/
*.lsp.log
1 change: 1 addition & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/dictionaries/project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions .idea/runConfigurations/Run_Gamma_LSP_Server.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/runConfigurations/Run_LSP_Servers.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions .idea/runConfigurations/Run_XSTS_LSP_Server.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/runConfigurations/Run_XSTS_LSP_Server.xml.license

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions .run/Compile SimpleMission LeaderOperational_Unsafe.run.xml

This file was deleted.

18 changes: 0 additions & 18 deletions .run/Compile Spacecraft.gamma.run.xml

This file was deleted.

3 changes: 0 additions & 3 deletions .run/Compile Spacecraft.gamma.run.xml.license

This file was deleted.

3 changes: 0 additions & 3 deletions .run/Run OXSTS LSP Server.run.xml.license

This file was deleted.

12 changes: 0 additions & 12 deletions .run/Verify SimpleMission LeaderOperational_Unsafe.run.xml

This file was deleted.

18 changes: 0 additions & 18 deletions .run/Verify Spacecraft.gamma Station_OperationReachable.run.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .run/Verify XSTS SimpleMission LeaderOperational_Unsafe.run.xml

This file was deleted.

12 changes: 3 additions & 9 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,9 @@

### Semantifyr Authors

**Project leader** Vince, Molnar <[email protected]>
**Project leader** Vince, Molnár <[email protected]>

Contributors (in alphabetical order):

- Armin, Zavada <[email protected]>

### Support

Semantifyr was also supported by

- [Budapest University of Technology and Economics (BME)](https://www.bme.hu/?language=en), [Department of Measurement and Information Systems (MIT)](https://mit.bme.hu/eng/), [Critical Systems Research Group (FTSRG)](https://ftsrg.mit.bme.hu/en/)
- [New National Excellence Program 2023](https://www.unkp.gov.hu)
- Ármin, Zavada <[email protected]>
- Marussy, Kristóf <[email protected]>
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
SPDX-FileCopyrightText: 2023-2024 The Semantifyr Authors
SPDX-FileCopyrightText: 2023-2025 The Semantifyr Authors

SPDX-License-Identifier: EPL-2.0
-->
Expand All @@ -26,8 +26,17 @@ Please, follow the instructions in [CONTRIBUTING.md](CONTRIBUTING.md)

## License

Copyright (c) 2024 [Semantifyr Authors](CONTRIBUTORS.md)
Copyright (c) 2023-2025 [Semantifyr Authors](CONTRIBUTORS.md)

Semantifyr is available under the [Eclipse Public License - v 2.0](https://www.eclipse.org/legal/epl-2.0/).

Semantifyr complies with the [REUSE Specification – Version 3.0](https://reuse.software/) to provide copyright and licensing information to each file, including files available under other licenses. For more information, see the comments headers in each file and the license texts in the [LICENSES](LICENSES) directory.

## Support

The research and development of Semantifyr was also supported by (in no particular order):

- [Budapest University of Technology and Economics (BME)](https://www.bme.hu/?language=en), [Department of Measurement and Information Systems (MIT)](https://mit.bme.hu/eng/), [Critical Systems Research Group (FTSRG)](https://ftsrg.mit.bme.hu/en/)
- [New National Excellence Program 2023](https://www.unkp.gov.hu)
- [IncQuery Labs cPlc.](https://incquery.io/)
- Ministry of Culture and Innovation of Hungary, National Research, Development and Innovation Fund, financed under the EKÖP_KDP-24-1-BME-21 funding scheme (2024-2028)
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ package hu.bme.mit.semantifyr.gradle.conventions

import org.gradle.accessors.dm.LibrariesForLibs
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.kotlin.dsl.registering

plugins {
`java-library`
Expand All @@ -24,15 +25,17 @@ val libs = the<LibrariesForLibs>()

dependencies {
testFixturesApi(libs.junit.api)
testFixturesApi(libs.assertj.core)
testFixturesApi(libs.junit.params)
testFixturesApi(libs.mockito.core)
testFixturesApi(libs.mockito.junit)

testRuntimeOnly(libs.junit.engine)
testRuntimeOnly(libs.junit.platform.launcher)
}

java.toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
languageVersion = JavaLanguageVersion.of(21)
}

tasks {
Expand All @@ -49,7 +52,7 @@ tasks {
finalizedBy(tasks.jacocoTestReport)
}

val allTests by tasks.creating(Test::class) {
val allTests by tasks.registering(Test::class) {
useJUnitPlatform()

minHeapSize = "512m"
Expand Down
25 changes: 15 additions & 10 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@
# SPDX-License-Identifier: EPL-2.0

[versions]
ecore = "2.37.0"
junit = "5.11.0"
mockito = "5.14.0"
mwe2 = "2.19.0"
slf4j = "2.0.16"
log4j = "2.24.1"
xtext = "2.36.0"
kotlin = "2.1.0"
kotlinxCoroutines = "1.9.0"
cliKt = "5.0.1"
ecore = "2.40.0"
junit = "5.12.2"
assertj = "3.27.6"
junitplatform = "1.13.4"
mockito = "5.19.0"
mwe2 = "2.23.0"
slf4j = "2.0.17"
log4j = "2.25.1"
xtext = "2.40.0"
kotlin = "2.2.20"
kotlinxCoroutines = "1.10.2"
cliKt = "5.0.3"
viatra = "2.9.1"
dockerJava = "3.4.0"
guice = "7.0.0"
Expand All @@ -21,9 +23,11 @@ node = "7.1.0"
[libraries]
ecore = { group = "org.eclipse.emf", name = "org.eclipse.emf.ecore", version.ref = "ecore" }
ecore-codegen = { group = "org.eclipse.emf", name = "org.eclipse.emf.codegen.ecore", version.ref = "ecore" }
junit-platform-launcher = { group = "org.junit.platform", name = "junit-platform-launcher", version.ref = "junitplatform" }
junit-api = { group = "org.junit.jupiter", name = "junit-jupiter-api", version.ref = "junit" }
junit-engine = { group = "org.junit.jupiter", name = "junit-jupiter-engine", version.ref = "junit" }
junit-params = { group = "org.junit.jupiter", name = "junit-jupiter-params", version.ref = "junit" }
assertj-core = { group = "org.assertj", name = "assertj-core", version.ref = "assertj" }
mockito-core = { group = "org.mockito", name = "mockito-core", version.ref = "mockito" }
mockito-junit = { group = "org.mockito", name = "mockito-junit-jupiter", version.ref = "mockito" }
mwe-utils = { group = "org.eclipse.emf", name = "org.eclipse.emf.mwe.utils", version = "1.9.0" }
Expand All @@ -44,6 +48,7 @@ viatra-query-language = { group = "org.eclipse.viatra", name = "viatra-query-lan
viatra-query-runtime = { group = "org.eclipse.viatra", name = "viatra-query-runtime", version.ref = "viatra" }
viatra-transformation-runtime = { group = "org.eclipse.viatra", name = "viatra-transformation-runtime", version.ref = "viatra" }
guice = { group = "com.google.inject", name = "guice", version.ref = "guice" }
guice-extensions-assistedinject = { group = "com.google.inject.extensions", name = "guice-assistedinject", version.ref = "guice" }
docker-java-core = { group = "com.github.docker-java" , name = "docker-java-core", version.ref = "dockerJava" }
docker-java-transport = { group = "com.github.docker-java" , name = "docker-java-transport-httpclient5", version.ref = "dockerJava" }

Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
22 changes: 13 additions & 9 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#

##############################################################################
#
Expand Down Expand Up @@ -55,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
Expand Down Expand Up @@ -83,7 +85,9 @@ done
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down Expand Up @@ -144,15 +148,15 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC2039,SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
case $MAX_FD in #(
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC2039,SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
Expand Down Expand Up @@ -201,11 +205,11 @@ fi
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'

# Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in
# double quotes to make sure that they get re-expanded; and
# * put everything else in single quotes, so that it's not re-expanded.
# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.

set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
Expand Down
Loading
Loading