1- apply plugin : ' application'
2- apply plugin : " com.github.spotbugs"
3- apply plugin : ' checkstyle'
4- apply plugin : " de.fntsoftware.gradle.markdown-to-pdf"
5-
6- assemble. dependsOn+ = ' betriebshandbuchToPdf'
7-
8- description = ' Dav3 REST Client'
9-
10- ext {
11-
12- datenverteiler_version = " 3.14.0"
13- }
14-
15- dependencies {
16- implementation project(' :de.bitctrl.dav.rest.api' )
17- implementation ' org.glassfish.jersey.core:jersey-client:2.28'
18- implementation ' org.glassfish.jersey.media:jersey-media-json-jackson:2.28'
19- implementation ' org.glassfish.jersey.inject:jersey-hk2:2.28'
20- implementation ' com.google.inject:guice:4.2.3'
21- implementation " de.bsvrz.dav:de.bsvrz.dav.daf:$datenverteiler_version "
22- implementation " de.bsvrz.sys:de.bsvrz.sys.funclib.application:$datenverteiler_version "
23- implementation " de.bsvrz.sys:de.bsvrz.sys.funclib.dataIdentificationSettings:$datenverteiler_version "
24- implementation ' org.reflections:reflections:0.10.1'
25- testImplementation ' junit:junit:4.12'
26- testImplementation " de.bsvrz.puk:de.bsvrz.puk.config:$datenverteiler_version "
27-
28- // JAX-B dependencies for JDK 9+
29- implementation " jakarta.xml.bind:jakarta.xml.bind-api:2.3.3"
30- implementation " org.glassfish.jaxb:jaxb-runtime:2.3.2"
31-
32- runtimeOnly fileTree(' lib' ) { include ' *.jar' }
33- }
34-
35- mainClassName= ' de.bitctrl.dav.rest.client.Client'
36-
37- jar {
38- manifest{
39- attributes(' Main-Class' : mainClassName,
40- ' Class-Path' : configurations. runtimeClasspath. files. collect { it. getName() }. join(' ' ))
41- }
42- }
43-
44-
45- distZip {
46- into(project. name+ " -" + project. version) {
47- from ' build'
48- include ' Betriebshandbuch.pdf'
49- }
50- }
51-
52- spotbugs {
53- ignoreFailures = true
54- showStackTraces = true
1+ apply plugin : ' application'
2+ apply plugin : " com.github.spotbugs"
3+ apply plugin : ' checkstyle'
4+ apply plugin : " de.fntsoftware.gradle.markdown-to-pdf"
5+
6+ assemble. dependsOn+ = ' betriebshandbuchToPdf'
7+
8+ description = ' Dav3 REST Client'
9+
10+ ext {
11+
12+ datenverteiler_version = " 3.14.0"
13+ }
14+
15+ dependencies {
16+ implementation project(' :de.bitctrl.dav.rest.api' )
17+ implementation ' org.glassfish.jersey.core:jersey-client:2.28'
18+ implementation ' org.glassfish.jersey.media:jersey-media-json-jackson:2.28'
19+ implementation ' org.glassfish.jersey.inject:jersey-hk2:2.28'
20+ implementation ' com.google.inject:guice:4.2.3'
21+ implementation " de.bsvrz.dav:de.bsvrz.dav.daf:$datenverteiler_version "
22+ implementation " de.bsvrz.sys:de.bsvrz.sys.funclib.application:$datenverteiler_version "
23+ implementation " de.bsvrz.sys:de.bsvrz.sys.funclib.dataIdentificationSettings:$datenverteiler_version "
24+ implementation ' org.reflections:reflections:0.10.1'
25+ testImplementation ' junit:junit:4.12'
26+ testImplementation " de.bsvrz.puk:de.bsvrz.puk.config:$datenverteiler_version "
27+
28+ // JAX-B dependencies for JDK 9+
29+ implementation " jakarta.xml.bind:jakarta.xml.bind-api:2.3.3"
30+ implementation " org.glassfish.jaxb:jaxb-runtime:2.3.5"
31+
32+
33+ runtimeOnly fileTree(' lib' ) { include ' *.jar' }
34+ }
35+
36+ mainClassName= ' de.bitctrl.dav.rest.client.Client'
37+
38+ jar {
39+ manifest{
40+ attributes(' Main-Class' : mainClassName,
41+ ' Class-Path' : configurations. runtimeClasspath. files. collect { it. getName() }. join(' ' ))
42+ }
43+ }
44+
45+
46+ distZip {
47+ into(project. name+ " -" + project. version) {
48+ from ' build'
49+ include ' Betriebshandbuch.pdf'
50+ }
51+ }
52+
53+ spotbugs {
54+ ignoreFailures = true
55+ showStackTraces = true
5556}
0 commit comments