Skip to content
Merged
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
12 changes: 11 additions & 1 deletion .github/workflows/deploy_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
types: [ trigger_after_upstream_deploy ]

env:
GRADLE_VERSION: 7.6 # Gradle version used
GRADLE_VERSION: 8.5 # Gradle 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 +29,11 @@ jobs:
steps:
- name: Checkout project sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand All @@ -45,6 +50,11 @@ jobs:
steps:
- name: Checkout project sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ 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
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 +26,11 @@ jobs:
steps:
- name: Checkout project sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion WorkflowCLI/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "java-library"
id "com.github.johnrengelman.shadow" version "7.1.2"
id 'com.gradleup.shadow' version "8.3.9"
id "jacoco"
id "de.se_rwth.codestyle" version "$mc_version"
}
Expand Down
11 changes: 9 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent


plugins {
id 'java'
id "maven-publish"
id "io.github.themrmilchmann.ecj" version "0.2.0" apply false
id "de.se_rwth.codestyle" version "$mc_version"
}



description = "BPMN-DSL"

allprojects {
Expand All @@ -33,6 +36,10 @@ subprojects {
apply plugin: 'io.github.themrmilchmann.ecj'
apply plugin: 'maven-publish'

ecj {
compilerVersion = "3.43.0"
}

tasks.withType(Test).configureEach {
useJUnit()
testLogging {
Expand Down Expand Up @@ -67,8 +74,8 @@ subprojects {

tasks.withType(JavaCompile).tap {
configureEach {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
options.encoding = "UTF-8"
options.deprecation false
options.warnings = false
Expand Down
Loading