@@ -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
1919group ' edu.kit.datamanager'
@@ -35,34 +35,33 @@ repositories {
3535}
3636
3737ext {
38- jacksonVersion = ' 2.18.1 '
38+ jacksonVersion = ' 2.18.3 '
3939}
4040
4141dependencies {
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+
143144test {
144145 useJUnitPlatform()
145146 finalizedBy jacocoTestReport
@@ -154,7 +155,7 @@ jacocoTestReport {
154155}
155156
156157jacoco {
157- toolVersion = " 0.8.11 "
158+ toolVersion = " 0.8.12 "
158159}
159160
160161// maxParallelForks(2)
0 commit comments