Skip to content

Commit e124705

Browse files
authored
Merge pull request #204 from kit-data-manager/development
PR for v2.0.2
2 parents ea55aca + f11398e commit e124705

File tree

6 files changed

+295
-219
lines changed

6 files changed

+295
-219
lines changed

.github/workflows/gradle.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@ on:
1111
push:
1212
branches: [ main, development ]
1313
pull_request:
14-
branches: [ main ]
14+
branches: [ main, development ]
1515
workflow_dispatch:
1616

1717
env:
1818
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
1919

2020
jobs:
21+
# avoid double CI runs on push and PR, from https://github.com/orgs/community/discussions/57827
2122
build:
23+
if: github.event_name != 'push' || github.event.push.head.repo.full_name != github.event.push.base.repo.full_name
2224
strategy:
2325
matrix:
2426
os: [ubuntu-latest, macos-latest, windows-latest]

build.gradle

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ plugins {
88

99
// Instructions: https://github.com/researchgate/gradle-release
1010
// Available versions: https://plugins.gradle.org/plugin/net.researchgate.release
11-
id 'net.researchgate.release' version '3.0.2'
11+
id 'net.researchgate.release' version '3.1.0'
1212
id "maven-publish"
1313
// Publishing of JAR to Nexus instances (e.g., OSSRH)
1414
// https://github.com/gradle-nexus/publish-plugin
1515
id "io.github.gradle-nexus.publish-plugin" version "2.0.0"
16-
id "io.freefair.maven-publish-java" version "8.10.2"
16+
id "io.freefair.maven-publish-java" version "8.13"
1717
}
1818

1919
group 'edu.kit.datamanager'
@@ -35,34 +35,33 @@ repositories {
3535
}
3636

3737
ext {
38-
jacksonVersion = '2.18.1'
38+
jacksonVersion = '2.18.3'
3939
}
4040

4141
dependencies {
4242
// JUnit setup for testing
43-
testImplementation 'org.junit.jupiter:junit-jupiter-params'
44-
testImplementation(platform("org.junit:junit-bom:5.11.3"))
45-
testImplementation 'org.junit.jupiter:junit-jupiter-api'
46-
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
43+
testImplementation(platform("org.junit:junit-bom:5.12.1"))
44+
testImplementation('org.junit.jupiter:junit-jupiter')
45+
testRuntimeOnly('org.junit.platform:junit-platform-launcher')
4746
// JSON object mapping / (de-)serialization
4847
implementation "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}"
4948
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jacksonVersion}"
5049
// http client
5150
implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.14'
5251
// common file system operations
53-
implementation group: 'commons-io', name: 'commons-io', version: '2.17.0'
52+
implementation group: 'commons-io', name: 'commons-io', version: '2.18.0'
5453
// read from and write to zip files
5554
implementation group: 'net.lingala.zip4j', name: 'zip4j', version: '2.11.5'
5655
// compare json documents in tests
5756
implementation 'com.github.fslev:json-compare:6.18'
5857
// url validator
5958
implementation group: 'commons-validator', name: 'commons-validator', version: '1.9.0'
6059
// logging
61-
implementation group: 'org.slf4j', name: 'slf4j-jdk14', version: '2.0.16'
60+
implementation group: 'org.slf4j', name: 'slf4j-jdk14', version: '2.0.17'
6261
// JSON-LD, Zenodo mapping
63-
implementation group: 'com.apicatalog', name: 'titanium-json-ld', version: '1.4.1'
62+
implementation group: 'com.apicatalog', name: 'titanium-json-ld', version: '1.6.0'
6463
// metadata validation, profiles based on JSON schema
65-
implementation group: "com.networknt", name: "json-schema-validator", version: "1.5.3"
64+
implementation group: "com.networknt", name: "json-schema-validator", version: "1.5.6"
6665
implementation 'org.glassfish:jakarta.json:2.0.1'
6766
}
6867

@@ -100,46 +99,48 @@ configurations {
10099
}
101100

102101

103-
task performanceContextEntitiesBenchmark(type: JavaExec) {
102+
tasks.register('performanceContextEntitiesBenchmark', JavaExec) {
104103
description = "Run the context entities benchmarks."
105104
classpath = sourceSets.performanceTest.runtimeClasspath
106105
mainClass = 'edu.kit.datamanager.ro_crate.singlecratebenchmarks.ContextualEntitiesPerformance'
107106
}
108107

109-
task performanceLocalDataEntitiesBenchmark(type: JavaExec) {
108+
tasks.register('performanceLocalDataEntitiesBenchmark', JavaExec) {
110109
description = "Run the local data entities benchmarks."
111110
classpath = sourceSets.performanceTest.runtimeClasspath
112111
mainClass = 'edu.kit.datamanager.ro_crate.singlecratebenchmarks.LocalDataEntitiesPerformance'
113112
}
114113

115-
task performanceRemoteDataEntitiesBenchmark(type: JavaExec) {
114+
tasks.register('performanceRemoteDataEntitiesBenchmark', JavaExec) {
116115
description = "Run the remote data entities benchmarks."
117116
classpath = sourceSets.performanceTest.runtimeClasspath
118117
mainClass = 'edu.kit.datamanager.ro_crate.singlecratebenchmarks.RemoteDataEntitiesPerformance'
119118
}
120119

121-
task performanceMixEntitiesBenchmark(type: JavaExec) {
120+
tasks.register('performanceMixEntitiesBenchmark', JavaExec) {
122121
description = "Run the remote data entities benchmarks."
123122
classpath = sourceSets.performanceTest.runtimeClasspath
124123
mainClass = 'edu.kit.datamanager.ro_crate.singlecratebenchmarks.MixtureOfEntitiesPerformance'
125124
}
126-
task performanceDeletionEntitiesBenchmark(type: JavaExec) {
125+
126+
tasks.register('performanceDeletionEntitiesBenchmark', JavaExec) {
127127
description = "Run the remote data entities benchmarks."
128128
classpath = sourceSets.performanceTest.runtimeClasspath
129129
mainClass = 'edu.kit.datamanager.ro_crate.singlecratebenchmarks.DeletionEntitiesPerformance'
130130
}
131131

132-
task performanceMultipleCratesBenchmark(type: JavaExec) {
132+
tasks.register('performanceMultipleCratesBenchmark', JavaExec) {
133133
description = "Run the remote data entities benchmarks."
134134
classpath = sourceSets.performanceTest.runtimeClasspath
135135
mainClass = 'edu.kit.datamanager.ro_crate.multiplecrates.MultipleCratesBenchmark'
136136
}
137137

138-
task performanceReadWriteMultipleCratesBenchmark(type: JavaExec) {
138+
tasks.register('performanceReadWriteMultipleCratesBenchmark', JavaExec) {
139139
description = "Run the remote data entities benchmarks."
140140
classpath = sourceSets.performanceTest.runtimeClasspath
141141
mainClass = 'edu.kit.datamanager.ro_crate.multiplecrates.MultipleCratesWriteAndRead'
142142
}
143+
143144
test {
144145
useJUnitPlatform()
145146
finalizedBy jacocoTestReport
@@ -154,7 +155,7 @@ jacocoTestReport {
154155
}
155156

156157
jacoco {
157-
toolVersion = "0.8.11"
158+
toolVersion = "0.8.12"
158159
}
159160

160161
// maxParallelForks(2)

gradle/wrapper/gradle-wrapper.jar

-15.5 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)