Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions .github/workflows/secret-scanning.yml

This file was deleted.

36 changes: 33 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ group = 'uk.gov.hmcts.cp'
version = System.getProperty('ARTEFACT_VERSION') ?: '0.0.999'

apply {
from("$rootDir/gradle/java-core.gradle")
from("$rootDir/gradle/spring-core.gradle")

from("$rootDir/gradle/repositories.gradle")
from("$rootDir/gradle/dependency.gradle")
from("$rootDir/gradle/pmd.gradle")
Expand All @@ -26,9 +23,42 @@ apply {
from("$rootDir/gradle/apitest.gradle")
}

// We MUST keep all dependencies in the build.gradle to allow dependabot to provide version updates
// Sadly, dependabot does not track dependencies in the apply-from files
dependencies {
// Api spec
implementation "uk.gov.hmcts.cp:api-cp-crime-schedulingandlisting-courtschedule:1.1.0"


// Java core
implementation 'net.logstash.logback:logstash-logback-encoder:8.1'
implementation 'org.apache.logging.log4j:log4j-to-slf4j'
implementation 'ch.qos.logback:logback-classic'
implementation 'ch.qos.logback:logback-core'
implementation "org.owasp.encoder:encoder:1.2.3"

compileOnly group: 'org.projectlombok', name: 'lombok', version: "1.18.40"
annotationProcessor group: 'org.projectlombok', name: 'lombok', version: "1.18.40"
testCompileOnly group: 'org.projectlombok', name: 'lombok', version: "1.18.40"
testAnnotationProcessor group: 'org.projectlombok', name: 'lombok', version: "1.18.40"

implementation "org.mapstruct:mapstruct:1.5.5.Final"
annotationProcessor "org.mapstruct:mapstruct-processor:1.5.5.Final"


// Spring boot core
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "org.springframework.boot:spring-boot-starter-aspectj"
implementation "org.springframework.boot:spring-boot-starter-actuator"
implementation "org.springframework.boot:spring-boot-starter-validation"

testImplementation "org.springframework.boot:spring-boot-starter-webmvc-test"
testImplementation "org.springframework.boot:spring-boot-starter-test"

testImplementation 'org.wiremock.integrations:wiremock-spring-boot:4.1.0'
testImplementation 'org.wiremock:wiremock-standalone:3.13.2'


implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-opentelemetry'
}
26 changes: 0 additions & 26 deletions gradle/java-core.gradle

This file was deleted.

12 changes: 0 additions & 12 deletions gradle/spring-core.gradle

This file was deleted.

Loading