@@ -2,15 +2,11 @@ plugins {
2
2
id ' org.springframework.boot' version ' 2.7.3'
3
3
id ' io.spring.dependency-management' version ' 1.1.5'
4
4
id ' java'
5
-
6
- // id 'com.github.spotbugs' version '6.0.11'
7
5
id ' jacoco'
8
- // id 'org.sonarqube' version '5.0.0.4638'
9
6
id " de.undercouch.download" version " 5.3.0"
10
7
}
11
8
12
- group = ' com.datadoghq.workshops'
13
- version = ' 0.0.1-SNAPSHOT'
9
+ version = ' 1.0.0'
14
10
sourceCompatibility = ' 17'
15
11
16
12
repositories {
@@ -25,26 +21,8 @@ dependencies {
25
21
compileOnly ' org.projectlombok:lombok:1.18.24'
26
22
annotationProcessor ' org.projectlombok:lombok:1.18.24'
27
23
testImplementation ' org.springframework.boot:spring-boot-starter-test'
28
-
29
- // Added for testing
30
- // spotbugs 'com.github.spotbugs:spotbugs:4.8.4'
31
- // spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.13.0'
32
24
}
33
25
34
- /*
35
- tasks.spotbugsMain {
36
- ignoreFailures = true
37
- reports.create("sarif") {
38
- required = true
39
- outputLocation = file("$rootDir/reports/spotbugs.sarif")
40
- }
41
- reports.create("html") {
42
- required = true
43
- outputLocation = file("$rootDir/reports/spotbugs.html")
44
- }
45
- }
46
- */
47
-
48
26
tasks. named(' test' ) {
49
27
useJUnitPlatform()
50
28
finalizedBy jacocoTestReport
@@ -68,13 +46,3 @@ task unzipNewrelic(type: Copy) {
68
46
from zipTree(file(' newrelic/newrelic-java.zip' ))
69
47
into rootDir
70
48
}
71
-
72
- /*
73
- sonar {
74
- properties {
75
- property("sonar.projectKey", "Vulnerable-Java-App")
76
- property("sonar.projectName", "Vulnerable Java App")
77
- // add host URL and TOKEN in command line
78
- }
79
- }
80
- */
0 commit comments