1414 * limitations under the License.
1515 */
1616plugins {
17- id " io.freefair.lombok" version " 8.0.1 "
18- id " io.freefair.maven-publish-java" version " 8.0.1 "
19- id " io.spring.dependency-management" version " 1.1.0 "
17+ id " io.freefair.lombok" version " 8.6 "
18+ id " io.freefair.maven-publish-java" version " 8.6 "
19+ id " io.spring.dependency-management" version " 1.1.4 "
2020 // id "com.github.kt3k.coveralls" version "2.8.1"
21- id " org.owasp.dependencycheck" version " 8.3.1 "
22- id " org.asciidoctor.jvm.convert" version " 3.3 .2"
21+ id " org.owasp.dependencycheck" version " 9.1.0 "
22+ id " org.asciidoctor.jvm.convert" version " 4.0 .2"
2323 // id "org.ajoberstar.grgit" version "2.0.1"
2424 id " com.jfrog.bintray" version " 1.8.5"
2525 id " java"
2626 id " jacoco"
2727 // plugins for release and publishing to maven repo
2828 id " signing"
2929 id " net.researchgate.release" version " 3.0.2"
30- id " io.github.gradle-nexus.publish-plugin" version " 1.3.0 "
30+ id " io.github.gradle-nexus.publish-plugin" version " 2.0.0-rc-2 "
3131 id ' maven-publish'
3232}
3333
3434ext {
3535 // versions of dependencies
3636 springBootVersion = ' 3.1.0'
37- springDocVersion = ' 2.1 .0'
38- javersVersion = ' 7.0.1 '
37+ springDocVersion = ' 2.5 .0'
38+ javersVersion = ' 7.4.2 '
3939}
4040
4141description = " Core module for data repositories based on metadata model of datacite."
4242group = ' edu.kit.datamanager'
4343
44- sourceCompatibility = 1.17
45- targetCompatibility = 1.17
44+ sourceCompatibility = JavaVersion . VERSION_17
45+ targetCompatibility = JavaVersion . VERSION_17
4646
4747jar {
4848 archiveBaseName = ' repo-core'
@@ -87,43 +87,37 @@ dependencies {
8787 implementation " org.springdoc:springdoc-openapi-starter-webmvc-api:${ springDocVersion} "
8888 // apache
8989 implementation " commons-configuration:commons-configuration:1.10"
90- implementation " commons-io:commons-io:2.13 .0"
90+ implementation " commons-io:commons-io:2.16 .0"
9191 implementation " org.apache.commons:commons-collections4:4.4"
9292 // includes commons-lang3
93- implementation " org.apache.commons:commons-text:1.10 .0"
93+ implementation " org.apache.commons:commons-text:1.11 .0"
9494 implementation ' org.apache.httpcomponents:httpclient:4.5.14'
95- implementation " org.apache.tika:tika-core:2.8.0 "
95+ implementation " org.apache.tika:tika-core:2.9.1 "
9696 // javers
9797 implementation " org.javers:javers-spring-boot-starter-sql:${ javersVersion} "
9898 implementation " com.google.code.gson:gson:2.10.1"
9999
100100 // Database
101- implementation " com.h2database:h2:2.1.214 "
102- implementation " org.postgresql:postgresql:42.6.0 "
101+ implementation " com.h2database:h2:2.2.224 "
102+ implementation " org.postgresql:postgresql:42.7.2 "
103103 // XML
104- implementation " com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.15.2 "
105- implementation " com.fasterxml.jackson.module:jackson-module-afterburner:2.15.2 "
104+ implementation " com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.17.0 "
105+ implementation " com.fasterxml.jackson.module:jackson-module-afterburner:2.17.0 "
106106
107- implementation " com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.15.2 "
108- implementation " com.fasterxml.jackson.datatype:jackson-datatype-joda:2.15.2 "
107+ implementation " com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0 "
108+ implementation " com.fasterxml.jackson.datatype:jackson-datatype-joda:2.17.0 "
109109
110110 // implementation "com.monitorjbl:spring-json-view:1.0.1"
111111
112112 implementation " de.codecentric:spring-boot-admin-starter-client:3.0.4"
113113 // log4j core
114114 implementation " org.apache.logging.log4j:log4j-core"
115115 implementation " ch.qos.logback:logback-classic"
116- // Java 11 Support
117- // implementation "javax.xml.bind:jaxb-api:2.3.1"
118- // implementation "com.sun.xml.bind:jaxb-core:4.0.2"
119- // implementation "com.sun.xml.bind:jaxb-impl:4.0.2"
120- // implementation "javax.activation:activation:1.1.1"
121- // implementation "org.javassist:javassist:3.29.2-GA"
122-
123- implementation " edu.kit.datamanager:service-base:1.2.0"
116+
117+ implementation " edu.kit.datamanager:service-base:1.2.1"
124118
125119 implementation " com.github.java-json-tools:json-patch:1.13"
126- implementation " com.github.dozermapper:dozer-core:6.5.2 "
120+ implementation " com.github.dozermapper:dozer-core:7.0.0 "
127121
128122 testImplementation " junit:junit:4.13.2"
129123 testImplementation " org.springframework:spring-test"
@@ -135,10 +129,11 @@ dependencies {
135129
136130 // Java 11 Support
137131 testImplementation " org.mockito:mockito-inline:5.2.0"
132+ }
138133
139- // testImplementation 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.9.2'
140- // asciidoctor 'org.springframework.restdocs:spring-restdocs-asciidoctor:2.0.4.RELEASE'
141- // asciidoctor 'com.github.allati.asciidoctor.monotree:asciidoctor-extension-monotree:0.0.1'
134+ def signingTasks = tasks . withType( Sign )
135+ tasks . withType( AbstractPublishToMaven ) . configureEach {
136+ mustRunAfter(signingTasks)
142137}
143138
144139test {
@@ -161,7 +156,7 @@ test {
161156}
162157
163158jacoco {
164- toolVersion = " 0.8.7 "
159+ toolVersion = " 0.8.11 "
165160}
166161
167162tasks. withType(Test ) {
0 commit comments