Skip to content

Commit

Permalink
Merge pull request #1570 from alphagov/bau-use-compile-only-v2
Browse files Browse the repository at this point in the history
BAU - Use compile only for shared
  • Loading branch information
JHjava authored Mar 22, 2022
2 parents 617dcc2 + 707d15f commit e9f5cd2
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 11 deletions.
2 changes: 2 additions & 0 deletions client-registry-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ version "unspecified"
dependencies {

compileOnly configurations.lambda,
configurations.sqs,
configurations.ssm,
configurations.sns,
configurations.s3,
configurations.dynamodb

implementation configurations.nimbus,
Expand Down
1 change: 1 addition & 0 deletions delivery-receipts-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies {
configurations.sqs,
configurations.ssm,
configurations.sns,
configurations.s3,
configurations.dynamodb

implementation configurations.govuk_notify,
Expand Down
1 change: 1 addition & 0 deletions ipv-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies {
configurations.sqs,
configurations.ssm,
configurations.sns,
configurations.s3,
configurations.dynamodb

implementation configurations.jackson,
Expand Down
8 changes: 4 additions & 4 deletions oidc-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ dependencies {

compileOnly configurations.lambda,
configurations.sqs,
configurations.ssm,
configurations.sns,
configurations.s3,
configurations.dynamodb

implementation configurations.govuk_notify,
configurations.jackson,
implementation configurations.jackson,
configurations.nimbus,
configurations.bouncycastle,
configurations.cloudwatch,
project(":shared"),
project(":client-registry-api")
project(":shared")

testImplementation configurations.tests,
configurations.lambda_tests,
Expand Down
17 changes: 10 additions & 7 deletions shared/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,27 @@ version "unspecified"

dependencies {

implementation configurations.lambda,
configurations.nimbus,
compileOnly configurations.lambda,
configurations.sns,
configurations.sqs,
configurations.ssm,
configurations.dynamodb

implementation configurations.nimbus,
configurations.jackson,
configurations.bouncycastle,
configurations.govuk_notify,
configurations.dynamodb,
configurations.lettuce,
configurations.libphonenumber,
configurations.hamcrest,
configurations.sns,
configurations.sqs,
configurations.ssm,
configurations.cloudwatch,
"com.google.protobuf:protobuf-java:3.19.4"

testImplementation configurations.tests,
configurations.lambda_tests,
project(":shared-test")
project(":shared-test"),
configurations.lambda,
configurations.dynamodb
testRuntimeOnly configurations.test_runtime
}

Expand Down

0 comments on commit e9f5cd2

Please sign in to comment.