File tree Expand file tree Collapse file tree
java/uk/gov/hmcts/cp/controllers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,15 +25,8 @@ apply {
2525 from(" $rootDir /gradle/api-test.gradle" )
2626}
2727
28- springBoot {
29- buildInfo {
30- properties {
31- name = project. name
32- version = project. version. toString()
33- }
34- }
35- }
36-
28+ // We MUST keep all dependencies in the build.gradle to allow dependabot to provide version updates
29+ // Sadly, dependabot does not track dependencies in the apply-from files
3730dependencies {
3831 // Api spec
3932 implementation(" uk.gov.hmcts.cp:api-hmcts-crime-template:2.0.2" )
@@ -86,4 +79,16 @@ dependencies {
8679
8780 // Jwt token
8881 implementation ' io.jsonwebtoken:jjwt:0.13.0'
82+
83+
84+ // Api Test
85+ apiTestImplementation platform(' org.junit:junit-bom:5.13.4' )
86+ apiTestRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine'
87+ apiTestImplementation(' org.springframework.boot:spring-boot-starter-test' ) {
88+ exclude group : ' junit' , module : ' junit'
89+ exclude group : ' org.junit.vintage' , module : ' junit-vintage-engine'
90+ }
91+ apiTestRuntimeOnly ' org.junit.platform:junit-platform-launcher'
92+ apiTestCompileOnly group : ' org.projectlombok' , name : ' lombok' , version : ' 1.18.38'
93+ apiTestAnnotationProcessor group : ' org.projectlombok' , name : ' lombok' , version : ' 1.18.38'
8994}
Original file line number Diff line number Diff line change @@ -49,19 +49,6 @@ configurations {
4949 }
5050}
5151
52- dependencies {
53- apiTestImplementation platform(' org.junit:junit-bom:5.13.4' )
54- apiTestRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine'
55-
56- apiTestImplementation(' org.springframework.boot:spring-boot-starter-test' ) {
57- exclude group : ' junit' , module : ' junit'
58- exclude group : ' org.junit.vintage' , module : ' junit-vintage-engine'
59- }
60- apiTestRuntimeOnly ' org.junit.platform:junit-platform-launcher'
61- apiTestCompileOnly group : ' org.projectlombok' , name : ' lombok' , version : ' 1.18.38'
62- apiTestAnnotationProcessor group : ' org.projectlombok' , name : ' lombok' , version : ' 1.18.38'
63- }
64-
6552dockerCompose {
6653 useComposeFiles = [' docker-compose.yml' ]
6754 startedServices = [' app' , ' db' ]
Original file line number Diff line number Diff line change @@ -14,4 +14,13 @@ tasks.withType(JavaExec).configureEach {
1414
1515tasks. named(' wrapper' ) {
1616 delete " ${ projectDir} /gradlew.bat"
17+ }
18+
19+ springBoot {
20+ buildInfo {
21+ properties {
22+ name = project. name
23+ version = project. version. toString()
24+ }
25+ }
1726}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22 <appender name =" JSON" class =" ch.qos.logback.core.ConsoleAppender" >
33 <encoder class =" net.logstash.logback.encoder.LoggingEventCompositeJsonEncoder" >
44 <providers >
5- <mdc />
65 <timestamp >
76 <fieldName >timestamp</fieldName >
87 <pattern >yyyy-MM-dd' 'HH:mm:ss.SSS</pattern >
98 </timestamp >
10- <loggerName />
11- <threadName />
12- <logLevel />
9+ <!-- Lets keep the message to the left so its easier to find without scrolling -->
1310 <pattern >
1411 <pattern >{"message": "%message%n%xException{full}"}</pattern >
1512 </pattern >
13+ <mdc />
14+ <loggerName />
15+ <threadName />
16+ <logLevel />
1617 </providers >
1718 </encoder >
1819 </appender >
You can’t perform that action at this time.
0 commit comments