forked from govuk-one-login/ipv-cri-uk-passport-back
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
84 lines (76 loc) · 1.69 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
plugins {
id "java"
id "idea"
id "org.sonarqube" version "3.3"
id "jacoco"
id "com.diffplug.spotless" version "6.1.0"
}
repositories {
maven {
url 'https://gds.jfrog.io/artifactory/di-allowed-repos'
}
}
ext {
dependencyVersions = [
awsJavaSdkDynamodb:'1.12.146',
awsJavaSdkSqs:'1.12.197',
awsJavaSdkSns: '1.12.459',
awsLambdaJavaCore:'1.2.1',
awsLambdaJavaEvents:'3.11.0',
awsLambdaJavaLog4j2:'1.5.1',
dynamodbEnhanced:'2.17.116',
gson:'2.8.9',
jackson:'2.13.1',
log4j:'2.17.1',
lombok:'1.18.22',
nimbusJoseJwt:'9.16',
nimbusdsOauth2OidcSdk:'9.22.1',
powertoolsLogging:'1.12.2',
powertoolsMetrics:'1.12.2',
powertoolsParameters:'1.9.0',
cri_common_lib: "1.1.7"
]
}
sonarqube {
properties {
property "sonar.projectKey", "alphagov_di-ipv-cri-uk-passport-back"
property "sonar.organization", "alphagov"
property "sonar.host.url", "https://sonarcloud.io"
}
}
spotless {
java {
target "**/src/**/*.java"
googleJavaFormat("1.13.0").aosp()
importOrder "", "javax", "java", "\\#"
endWithNewline()
}
groovyGradle {
target '**/*.gradle'
greclipse()
trimTrailingWhitespace()
endWithNewline()
}
}
subprojects {
configurations {
cri_common_lib
}
repositories {
maven {
url 'https://gds.jfrog.io/artifactory/di-allowed-repos'
}
//flatDir {
// dirs '<Location of your projects absolute path>/di-ipv-cri-lib/build/libs'
//}
}
dependencies {
cri_common_lib "uk.gov.account:cri-common-lib:${dependencyVersions.cri_common_lib}"
//cri_common_lib name: "di-ipv-cri-common-library-1.1.3"
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
task allDeps(type: DependencyReportTask) {}
}