File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ var pactDir = layout.buildDirectory.dir("pacts").get().asFile.path
4848
4949task pactConsumerTests (type : Test , group : " verification" ) {
5050 useJUnitPlatform()
51+ testClassesDirs = sourceSets. test. output. classesDirs
52+ classpath = sourceSets. test. runtimeClasspath
5153 include ' uk/gov/di/authentication/app/contract/**'
5254 systemProperties[' pact.rootDir' ] = pactDir
5355 outputs. dir pactDir
Original file line number Diff line number Diff line change @@ -64,6 +64,8 @@ var pactDir = layout.buildDirectory.dir("pacts").get().asFile.path
6464
6565task pactConsumerTests (type : Test , group : " verification" ) {
6666 useJUnitPlatform()
67+ testClassesDirs = sourceSets. test. output. classesDirs
68+ classpath = sourceSets. test. runtimeClasspath
6769 include ' uk/gov/di/authentication/frontendapi/contract/**'
6870 systemProperties[' pact.rootDir' ] = pactDir
6971 outputs. dir pactDir
Original file line number Diff line number Diff line change 11[versions ]
22awsSdk = " 2.44.4"
33junit = " 6.0.3"
4- pact = " 4.6.20 "
4+ pact = " 4.7.0 "
55spotbugs = " 4.9.8"
66xray = " 2.21.0"
77
@@ -107,8 +107,8 @@ xray = [
107107]
108108
109109[plugins ]
110- dockerCompose = " com.avast.gradle.docker-compose:0.17.12 "
111- pact = " au.com.dius.pact:4.6.18 "
110+ dockerCompose = " com.avast.gradle.docker-compose:0.17.21 "
111+ pact = " au.com.dius.pact:4.7.0 "
112112sonar = " org.sonarqube:7.2.3.7755"
113- spotbugs = " com.github.spotbugs:6.4.8 "
113+ spotbugs = " com.github.spotbugs:6.5.0 "
114114spotless = " com.diffplug.spotless:8.4.0"
Original file line number Diff line number Diff line change @@ -98,6 +98,8 @@ pactPublish.enabled = false
9898
9999task pactProviderTests (type : Test , group : " verification" ) {
100100 useJUnitPlatform()
101+ testClassesDirs = sourceSets. test. output. classesDirs
102+ classpath = sourceSets. test. runtimeClasspath
101103 include ' uk/gov/di/authentication/contract/**'
102104
103105 systemProperties[' pact.provider.branch' ] = " ${ System.env.GIT_BRANCH} "
Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ var pactDir = layout.buildDirectory.dir("pacts").get().asFile.path
4949
5050task pactConsumerTests (type : Test , group : " verification" ) {
5151 useJUnitPlatform()
52+ testClassesDirs = sourceSets. test. output. classesDirs
53+ classpath = sourceSets. test. runtimeClasspath
5254 include ' uk/gov/di/authentication/ipv/contract/**'
5355 systemProperties[' pact.rootDir' ] = pactDir
5456 outputs. dir pactDir
Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ var pactDir = layout.buildDirectory.dir("pacts").get().asFile.path
5555
5656task pactConsumerTests (type : Test , group : " verification" ) {
5757 useJUnitPlatform()
58+ testClassesDirs = sourceSets. test. output. classesDirs
59+ classpath = sourceSets. test. runtimeClasspath
5860 include ' /uk/gov/di/authentication/oidc/contract/**'
5961 systemProperties[' pact.rootDir' ] = pactDir
6062 outputs. dir pactDir
You can’t perform that action at this time.
0 commit comments