Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/deploy_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ on:
types: [ trigger_after_upstream_deploy ]

env:
GRADLE_VERSION: 7.6 # Gradle version used
GRADLE_VERSION: 8.5 # Gradle version used
JAVA_VERSION: 21 # Java version used
GRADLE_CLI_OPTS: "-Pci --build-cache --refresh-dependencies" # CLI options passed to Gradle
GRADLE_BUILD_ACTION_CACHE_KEY_JOB: "test-cache-${{ github.head_ref }}.${{ github.sha }}"

Expand All @@ -29,6 +30,11 @@ jobs:
steps:
- name: Checkout project sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand All @@ -45,6 +51,11 @@ jobs:
steps:
- name: Checkout project sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/test_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ on:
branches-ignore: [ "dev" ] # Do not run this on the default branch

env:
GRADLE_VERSION: 7.6 # Gradle version used
GRADLE_VERSION: 8.5 # Gradle version used
JAVA_VERSION: 21 # Java version used
GRADLE_CLI_OPTS: "-Pci --build-cache --refresh-dependencies" # CLI options passed to Gradle
GRADLE_BUILD_ACTION_CACHE_KEY_JOB: "test-cache-${{ github.head_ref }}.${{ github.sha }}"

Expand All @@ -26,6 +27,11 @@ jobs:
steps:
- name: Checkout project sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ used when processing models. To this effect, it provides funcionality for
* storing symbols in symbol files,
* ,and loading symbols from symbol files.

The requirements for building and using the OD tool are that Java 11, Git, and Gradle are
The requirements for building and using the OD tool are that Java 21, Git, and Gradle 8.5 are
installed and available for use in Bash.

The following subsection describes how to download the tool. Then, this document describes how
Expand All @@ -76,7 +76,7 @@ Alternatively, the tools can be built from source code.

### Prerequisites

To build the project, it is required to install a Java 11 JDK and git.
To build the project, it is required to install a Java 21 JDK and git.

#### Step 1: Clone Project with git

Expand Down
8 changes: 6 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ plugins {
id 'java-library'
id 'maven-publish'
id "de.monticore.generator" version "$mc_version" // MontiCore Plugin
id "com.github.johnrengelman.shadow" version "$shadow_plugin_version"
id "com.gradleup.shadow" version "$shadow_plugin_version"
id 'jacoco'
id "io.github.themrmilchmann.ecj" version "0.2.0"
}

ecj {
compilerVersion = "3.43.0"
}

def grammarDir = "src/main/grammars"

group = "de.monticore.lang"
Expand All @@ -31,7 +35,7 @@ sourceSets {

java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
languageVersion = JavaLanguageVersion.of(21)
}
// Deprecated feature, published for compatibility reasons
registerFeature('grammars') {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ mc_version=7.9.0-SNAPSHOT
mlc_version=7.8.0-SNAPSHOT
version=7.9.0-SNAPSHOT
useLocalRepo=false
shadow_plugin_version=7.1.2
shadow_plugin_version=8.3.9
guava_version=33.5.0-jre
commons_lang3_version=3.20.0
commons_cli_version=1.11.0
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/de/monticore/od2plantuml/REPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ foo--> "blub" bar
## Usage of ODPlantUMLTool

### Dependencies
* Java 11 (or higher)
* Gradle 7.5 (or higher)
* Java 21 (or higher)
* Gradle 8.5 (or higher)

### Installation of the project
* Clone the project from Gitlab
Expand Down
Loading