Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
c2eb3b8
chore(deps): update actions/upload-artifact action to v7
renovate[bot] Apr 13, 2026
35cc905
chore(deps): update plugin io.freefair.maven-publish-java to v9.5.0
renovate[bot] May 2, 2026
71d1d64
fix(deps): update dependency gg.jte:jte to v3.2.4
renovate[bot] May 2, 2026
7606154
fix(deps): update dependency org.junit:junit-bom to v6.1.0
renovate[bot] May 22, 2026
99b9a21
fix(deps): update jackson monorepo
renovate[bot] Jun 4, 2026
4ff6e42
Merge pull request #312 from kit-data-manager/renovate/major-github-a…
Pfeil Jun 15, 2026
b1313fb
Merge pull request #316 from kit-data-manager/renovate/gg.jte-jte-3.x
Pfeil Jun 15, 2026
1927c64
Merge pull request #314 from kit-data-manager/renovate/junit-framewor…
Pfeil Jun 15, 2026
9db07d9
Merge pull request #315 from kit-data-manager/renovate/io.freefair.ma…
Pfeil Jun 15, 2026
a5980e6
fix(deps): update dependency jacoco to v0.8.15
renovate[bot] Jun 15, 2026
50f61b5
fix(deps): update dependency net.lingala.zip4j:zip4j to v2.11.6
renovate[bot] Jun 15, 2026
f113f10
Merge pull request #323 from kit-data-manager/renovate/net.lingala.zi…
Pfeil Jun 15, 2026
a49c8af
Merge pull request #322 from kit-data-manager/renovate/jacoco-0.x
Pfeil Jun 15, 2026
49e4590
chore(deps): update gradle/actions action to v6
renovate[bot] Jun 15, 2026
438d044
Merge pull request #324 from kit-data-manager/renovate/gradle-actions…
Pfeil Jun 15, 2026
6fba45b
fix(deps): update slf4j monorepo to v2.0.18
renovate[bot] Jun 15, 2026
8aa358b
fix(deps): update dependency commons-io:commons-io to v2.22.0
renovate[bot] Jun 15, 2026
2fcdcb7
fix(deps): update dependency com.github.fslev:json-compare to v8
renovate[bot] Jun 15, 2026
b48f3d7
ci: update openjdk versions and switch to codecov
Pfeil Jun 15, 2026
443f5be
ci: remove coveralls secret
Pfeil Jun 15, 2026
1956600
chore(deps): update gradle to v9
renovate[bot] Jun 15, 2026
aa9dd72
chore: remove java 17 specific code
Pfeil Jun 15, 2026
e7dfa58
ci: test only jdk 21 for now
Pfeil Jun 15, 2026
09bb797
Merge pull request #288 from kit-data-manager/renovate/gradle-9.x
Pfeil Jun 15, 2026
b9b9b49
ci: add jdk 25
Pfeil Jun 15, 2026
661bcec
Merge pull request #327 from kit-data-manager/renovate/slf4j-monorepo
Pfeil Jun 15, 2026
b8c3945
Merge pull request #328 from kit-data-manager/renovate/commons-io-com…
Pfeil Jun 15, 2026
3e47fb2
Merge pull request #329 from kit-data-manager/renovate/com.github.fsl…
Pfeil Jun 15, 2026
e0f7768
Merge pull request #317 from kit-data-manager/renovate/jackson-monorepo
Pfeil Jun 15, 2026
fb1ed59
chore(deps): update codecov/codecov-action action to v7
renovate[bot] Jun 15, 2026
75c9746
Revert "chore: remove java 17 specific code"
Pfeil Jun 15, 2026
0812f77
ci: add java 17 again
Pfeil Jun 15, 2026
8ffc89e
Merge pull request #331 from kit-data-manager/renovate/codecov-codeco…
Pfeil Jun 15, 2026
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
74 changes: 45 additions & 29 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,43 +9,59 @@ name: Build & Tests

on:
push:
branches: [ main, development ]
branches: [main, development]
pull_request:
workflow_dispatch:

env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
jdk: [ 17, 21 ] # (open)JDK releases
jdk: [17, 21, 25, 26] # (open)JDK releases
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Set up openJDK version
uses: actions/setup-java@v5
with:
java-version: ${{ matrix.jdk }}
distribution: 'zulu'
- name: Install Dependencies
run: npm install -g ro-crate-html-js
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
- name: Build and Test with Gradle
run: ./gradlew -Dprofile=release build
- name: Upload (test) reports as artifact on GitHub on manual runs
if: github.event_name == 'workflow_dispatch'
uses: actions/upload-artifact@v5
with:
name: test-report ${{ matrix.os }} JDK ${{ matrix.jdk }}
path: build/reports
- name: Do one Coveralls test report
if: matrix.os == 'ubuntu-latest' && matrix.jdk == 21
run: ./gradlew -Dprofile=release jacocoTestReport coveralls
- name: Compile Javadoc
if: matrix.os == 'ubuntu-latest' && matrix.jdk == 21
run: ./gradlew javadoc
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
Comment thread
Pfeil marked this conversation as resolved.
- name: Set up openJDK version
uses: actions/setup-java@v5
Comment thread
Pfeil marked this conversation as resolved.
with:
java-version: ${{ matrix.jdk }}
distribution: "zulu"
- name: Install Dependencies
run: npm install -g ro-crate-html-js
- name: Setup Gradle
uses: gradle/actions/setup-gradle@5e2ebd065dc2488b7a6ad670704656cbbe1e8f60 # v6
- name: Build and Test with Gradle
run: ./gradlew -Dprofile=release build
- name: Upload (test) reports as artifact on GitHub on manual runs
if: github.event_name == 'workflow_dispatch'
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: test-report ${{ matrix.os }} JDK ${{ matrix.jdk }}
path: build/reports
coverage:
needs: build
runs-on: ubuntu-latest
env:
jdkversion: 25
steps:
- name: Checkout repo
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Set up OpenJDK version ...
uses: actions/setup-java@v5
with:
distribution: "zulu"
java-version: ${{ env.jdkversion }}
- name: Install Dependencies
run: npm install -g ro-crate-html-js
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle (JDK ${{ env.jdkversion }})
run: ./gradlew clean check jacocoTestReport
- name: Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7
with:
files: ./build/reports/jacoco/test/jacocoTestReport.xml #optional
- name: Compile Javadoc
run: ./gradlew javadoc
22 changes: 10 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ plugins {
id 'jvm-test-suite'
id 'application'
id 'jacoco'
// Adds coveralls task for CI to send results to the coveralls service.
id "com.github.kt3k.coveralls" version "2.12.2"

// Instructions: https://github.com/researchgate/gradle-release
// Available versions: https://plugins.gradle.org/plugin/net.researchgate.release
Expand All @@ -13,7 +11,7 @@ plugins {
// Publishing of JAR to Nexus instances (e.g., OSSRH)
// https://github.com/gradle-nexus/publish-plugin
id "io.github.gradle-nexus.publish-plugin" version "2.0.0"
id "io.freefair.maven-publish-java" version "9.1.0"
id "io.freefair.maven-publish-java" version "9.5.0"
}

group = 'edu.kit.datamanager'
Expand All @@ -40,12 +38,12 @@ repositories {
}

ext {
jacksonVersion = '2.20.1'
jacksonVersion = '2.22.0'
}

dependencies {
// JUnit setup for testing
testImplementation(platform("org.junit:junit-bom:6.0.1"))
testImplementation(platform("org.junit:junit-bom:6.1.0"))
testImplementation('org.junit.jupiter:junit-jupiter')
testRuntimeOnly('org.junit.platform:junit-platform-launcher')
// JSON object mapping / (de-)serialization
Expand All @@ -54,22 +52,22 @@ dependencies {
// http client
implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.14'
// common file system operations
implementation group: 'commons-io', name: 'commons-io', version: '2.21.0'
implementation group: 'commons-io', name: 'commons-io', version: '2.22.0'
// read from and write to zip files
implementation group: 'net.lingala.zip4j', name: 'zip4j', version: '2.11.5'
implementation group: 'net.lingala.zip4j', name: 'zip4j', version: '2.11.6'
// compare json documents in tests
implementation 'com.github.fslev:json-compare:7.2'
implementation 'com.github.fslev:json-compare:8.0'
// url validator
implementation group: 'commons-validator', name: 'commons-validator', version: '1.10.1'
// logging
implementation group: 'org.slf4j', name: 'slf4j-jdk14', version: '2.0.17'
implementation group: 'org.slf4j', name: 'slf4j-jdk14', version: '2.0.18'
// JSON-LD, Zenodo mapping
implementation group: 'com.apicatalog', name: 'titanium-json-ld', version: '1.7.0'
// metadata validation, profiles based on JSON schema
implementation group: "com.networknt", name: "json-schema-validator", version: "1.5.9"
implementation 'org.glassfish:jakarta.json:2.0.1'
//JTE for template processing
implementation('gg.jte:jte:3.2.1')
implementation('gg.jte:jte:3.2.4')
implementation("org.freemarker:freemarker:2.3.34")
}

Expand Down Expand Up @@ -186,12 +184,12 @@ jacocoTestReport {
dependsOn test
reports {
csv.required = true
xml.required = true // coveralls plugin depends on xml format report
xml.required = true // codecov plugin may depend on xml format report
}
}

jacoco {
toolVersion = "0.8.14"
toolVersion = "0.8.15"
}

// maxParallelForks(2)
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 3 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-bin.zip
networkTimeout=10000
retries=0
retryBackOffMs=500
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
7 changes: 2 additions & 5 deletions gradlew

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

32 changes: 10 additions & 22 deletions gradlew.bat

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

Loading