@@ -8,12 +8,12 @@ plugins {
8
8
9
9
// Instructions: https://github.com/researchgate/gradle-release
10
10
// 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 '
12
12
id " maven-publish"
13
13
// Publishing of JAR to Nexus instances (e.g., OSSRH)
14
14
// https://github.com/gradle-nexus/publish-plugin
15
15
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 "
17
17
}
18
18
19
19
group ' edu.kit.datamanager'
@@ -35,34 +35,33 @@ repositories {
35
35
}
36
36
37
37
ext {
38
- jacksonVersion = ' 2.18.1 '
38
+ jacksonVersion = ' 2.18.3 '
39
39
}
40
40
41
41
dependencies {
42
42
// 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' )
47
46
// JSON object mapping / (de-)serialization
48
47
implementation " com.fasterxml.jackson.core:jackson-databind:${ jacksonVersion} "
49
48
implementation " com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${ jacksonVersion} "
50
49
// http client
51
50
implementation group : ' org.apache.httpcomponents' , name : ' httpclient' , version : ' 4.5.14'
52
51
// 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'
54
53
// read from and write to zip files
55
54
implementation group : ' net.lingala.zip4j' , name : ' zip4j' , version : ' 2.11.5'
56
55
// compare json documents in tests
57
56
implementation ' com.github.fslev:json-compare:6.18'
58
57
// url validator
59
58
implementation group : ' commons-validator' , name : ' commons-validator' , version : ' 1.9.0'
60
59
// 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 '
62
61
// 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 '
64
63
// 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 "
66
65
implementation ' org.glassfish:jakarta.json:2.0.1'
67
66
}
68
67
@@ -100,46 +99,48 @@ configurations {
100
99
}
101
100
102
101
103
- task performanceContextEntitiesBenchmark ( type : JavaExec ) {
102
+ tasks . register( ' performanceContextEntitiesBenchmark ' , JavaExec ) {
104
103
description = " Run the context entities benchmarks."
105
104
classpath = sourceSets. performanceTest. runtimeClasspath
106
105
mainClass = ' edu.kit.datamanager.ro_crate.singlecratebenchmarks.ContextualEntitiesPerformance'
107
106
}
108
107
109
- task performanceLocalDataEntitiesBenchmark ( type : JavaExec ) {
108
+ tasks . register( ' performanceLocalDataEntitiesBenchmark ' , JavaExec ) {
110
109
description = " Run the local data entities benchmarks."
111
110
classpath = sourceSets. performanceTest. runtimeClasspath
112
111
mainClass = ' edu.kit.datamanager.ro_crate.singlecratebenchmarks.LocalDataEntitiesPerformance'
113
112
}
114
113
115
- task performanceRemoteDataEntitiesBenchmark ( type : JavaExec ) {
114
+ tasks . register( ' performanceRemoteDataEntitiesBenchmark ' , JavaExec ) {
116
115
description = " Run the remote data entities benchmarks."
117
116
classpath = sourceSets. performanceTest. runtimeClasspath
118
117
mainClass = ' edu.kit.datamanager.ro_crate.singlecratebenchmarks.RemoteDataEntitiesPerformance'
119
118
}
120
119
121
- task performanceMixEntitiesBenchmark ( type : JavaExec ) {
120
+ tasks . register( ' performanceMixEntitiesBenchmark ' , JavaExec ) {
122
121
description = " Run the remote data entities benchmarks."
123
122
classpath = sourceSets. performanceTest. runtimeClasspath
124
123
mainClass = ' edu.kit.datamanager.ro_crate.singlecratebenchmarks.MixtureOfEntitiesPerformance'
125
124
}
126
- task performanceDeletionEntitiesBenchmark (type : JavaExec ) {
125
+
126
+ tasks. register(' performanceDeletionEntitiesBenchmark' , JavaExec ) {
127
127
description = " Run the remote data entities benchmarks."
128
128
classpath = sourceSets. performanceTest. runtimeClasspath
129
129
mainClass = ' edu.kit.datamanager.ro_crate.singlecratebenchmarks.DeletionEntitiesPerformance'
130
130
}
131
131
132
- task performanceMultipleCratesBenchmark ( type : JavaExec ) {
132
+ tasks . register( ' performanceMultipleCratesBenchmark ' , JavaExec ) {
133
133
description = " Run the remote data entities benchmarks."
134
134
classpath = sourceSets. performanceTest. runtimeClasspath
135
135
mainClass = ' edu.kit.datamanager.ro_crate.multiplecrates.MultipleCratesBenchmark'
136
136
}
137
137
138
- task performanceReadWriteMultipleCratesBenchmark ( type : JavaExec ) {
138
+ tasks . register( ' performanceReadWriteMultipleCratesBenchmark ' , JavaExec ) {
139
139
description = " Run the remote data entities benchmarks."
140
140
classpath = sourceSets. performanceTest. runtimeClasspath
141
141
mainClass = ' edu.kit.datamanager.ro_crate.multiplecrates.MultipleCratesWriteAndRead'
142
142
}
143
+
143
144
test {
144
145
useJUnitPlatform()
145
146
finalizedBy jacocoTestReport
@@ -154,7 +155,7 @@ jacocoTestReport {
154
155
}
155
156
156
157
jacoco {
157
- toolVersion = " 0.8.11 "
158
+ toolVersion = " 0.8.12 "
158
159
}
159
160
160
161
// maxParallelForks(2)
0 commit comments