-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
84 lines (78 loc) · 3.94 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
import groovy.time.TimeCategory
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent
plugins {
id 'java'
id 'org.springframework.boot' version "2.7.6"
id 'com.jfrog.artifactory' version '4.32.0' apply false
id "org.sonarqube" version "4.1.0.3113"
id "gov.cms.ab2d.plugin" version "1.0.2"
id 'maven-publish'
id 'org.cyclonedx.bom' version '1.7.4' apply true
}
version="1.1.0"
group = "gov.cms.ab2d"
ext {
springBootVersion= '2.7.6'
springCloudAwsVersion = '2.4.4'
springWebVersion= '5.3.26'
liquibaseVersion="4.22.0"
jacksonVersion="2.15.2"
}
allprojects {
apply plugin: 'gov.cms.ab2d.plugin'
apply plugin: "org.cyclonedx.bom"
dependencies {
implementation "com.squareup.okhttp3:okhttp:4.11.0"
implementation "org.springframework.boot:spring-boot-starter:${springBootVersion}"
implementation "org.springframework.boot:spring-boot-starter-data-jpa:${springBootVersion}"
implementation "org.springframework.boot:spring-boot-starter-jdbc:${springBootVersion}"
implementation "org.springframework.boot:spring-boot-starter-web:${springBootVersion}"
implementation "org.springframework:spring-web:${springWebVersion}"
implementation "org.springframework:spring-webmvc:${springWebVersion}"
implementation "io.awspring.cloud:spring-cloud-aws-autoconfigure:${springCloudAwsVersion}"
implementation "io.awspring.cloud:spring-cloud-aws-messaging:${springCloudAwsVersion}"
implementation "commons-codec:commons-codec:1.15"
implementation "javax.servlet:javax.servlet-api:4.0.1"
implementation "org.liquibase:liquibase-core:${liquibaseVersion}"
implementation "com.amazonaws:amazon-kinesis-client:1.14.10"
implementation "com.fasterxml.jackson.module:jackson-module-parameter-names:${jacksonVersion}"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:${jacksonVersion}"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jacksonVersion}"
implementation "gov.cms.ab2d:ab2d-events-client:1.12.10"
implementation 'com.slack.api:slack-api-client:1.29.2'
runtimeOnly "javax.xml.bind:jaxb-api:2.4.0-b180830.0359"
runtimeOnly 'org.postgresql:postgresql:42.7.3'
testImplementation "org.springframework.boot:spring-boot-starter-test:${springBootVersion}"
testImplementation "commons-io:commons-io:2.12.0"
testImplementation 'org.springframework.data:spring-data-jpa:2.7.6'
testImplementation "org.liquibase:liquibase-core:${liquibaseVersion}"
testImplementation "org.testcontainers:localstack:1.18.2"
compileOnly "org.cyclonedx:cyclonedx-gradle-plugin:1.4.0"
compileOnly 'org.cyclonedx:cyclonedx-core-java:7.3.2'
}
cyclonedxBom {
// includeConfigs is the list of configuration names to include when generating the BOM (leave empty to include every configuration)
includeConfigs = ["runtimeClasspath"]
// skipConfigs is a list of configuration names to exclude when generating the BOM
skipConfigs = ["compileClasspath", "testCompileClasspath"]
// Specified the type of project being built. Defaults to 'library'
projectType = "library"
// Specified the version of the CycloneDX specification to use. Defaults to 1.4.
schemaVersion = "1.4"
// Boms destination directory (defaults to build/reports)
destination = file("build/reports")
// The file name for the generated BOMs (before the file format suffix). Defaults to 'bom'
outputName = "bom"
// The file format generated, can be xml, json or all for generating both
outputFormat = "all"
// Exclude BOM Serial Number
includeBomSerialNumber = false
// Override component version
componentVersion = "2.0.0"
}
}
repositories {
mavenCentral()
mavenLocal()
}