@@ -14,9 +14,6 @@ group = 'uk.gov.hmcts.cp'
1414version = System . getProperty(' ARTEFACT_VERSION' ) ?: ' 0.0.999'
1515
1616apply {
17- from(" $rootDir /gradle/java-core.gradle" )
18- from(" $rootDir /gradle/spring-core.gradle" )
19-
2017 from(" $rootDir /gradle/repositories.gradle" )
2118 from(" $rootDir /gradle/dependency.gradle" )
2219 from(" $rootDir /gradle/pmd.gradle" )
@@ -26,9 +23,42 @@ apply {
2623 from(" $rootDir /gradle/apitest.gradle" )
2724}
2825
26+ // We MUST keep all dependencies in the build.gradle to allow dependabot to provide version updates
27+ // Sadly, dependabot does not track dependencies in the apply-from files
2928dependencies {
29+ // Api spec
3030 implementation " uk.gov.hmcts.cp:api-cp-crime-schedulingandlisting-courtschedule:1.1.0"
3131
32+
33+ // Java core
34+ implementation ' net.logstash.logback:logstash-logback-encoder:8.1'
35+ implementation ' org.apache.logging.log4j:log4j-to-slf4j'
36+ implementation ' ch.qos.logback:logback-classic'
37+ implementation ' ch.qos.logback:logback-core'
38+ implementation " org.owasp.encoder:encoder:1.2.3"
39+
40+ compileOnly group : ' org.projectlombok' , name : ' lombok' , version : " 1.18.40"
41+ annotationProcessor group : ' org.projectlombok' , name : ' lombok' , version : " 1.18.40"
42+ testCompileOnly group : ' org.projectlombok' , name : ' lombok' , version : " 1.18.40"
43+ testAnnotationProcessor group : ' org.projectlombok' , name : ' lombok' , version : " 1.18.40"
44+
45+ implementation " org.mapstruct:mapstruct:1.5.5.Final"
46+ annotationProcessor " org.mapstruct:mapstruct-processor:1.5.5.Final"
47+
48+
49+ // Spring boot core
50+ implementation " org.springframework.boot:spring-boot-starter-web"
51+ implementation " org.springframework.boot:spring-boot-starter-aspectj"
52+ implementation " org.springframework.boot:spring-boot-starter-actuator"
53+ implementation " org.springframework.boot:spring-boot-starter-validation"
54+
55+ testImplementation " org.springframework.boot:spring-boot-starter-webmvc-test"
56+ testImplementation " org.springframework.boot:spring-boot-starter-test"
57+
58+ testImplementation ' org.wiremock.integrations:wiremock-spring-boot:4.1.0'
59+ testImplementation ' org.wiremock:wiremock-standalone:3.13.2'
60+
61+
3262 implementation ' org.springframework.boot:spring-boot-starter-actuator'
3363 implementation ' org.springframework.boot:spring-boot-starter-opentelemetry'
3464}
0 commit comments