-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
72 lines (58 loc) · 1.65 KB
/
build.gradle
File metadata and controls
72 lines (58 loc) · 1.65 KB
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
plugins {
id 'java'
id 'org.springframework.boot' version '3.4.5'
id 'io.spring.dependency-management' version '1.1.7'
id 'pmd'
id 'checkstyle'
}
group = 'com.claymccoy'
version = '1.0.0'
configurations {
}
group = 'com.claymccoy'
version = '1.0.0'
java {
sourceCompatibility = '21'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
// Spring Boot Starters
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
// Temporal
implementation 'io.temporal:temporal-sdk:1.27.0'
// Utilities
implementation 'com.google.guava:guava:32.1.3-jre'
// Test dependencies
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.temporal:temporal-testing:1.27.0'
}
// Checkstyle configuration
checkstyle {
configFile = file('checkstyle.xml')
toolVersion = '10.3.3'
ignoreFailures = true // Don't fail build on violations for now
}
// PMD configuration
pmd {
ruleSetFiles = files('pmd-rules.xml')
toolVersion = '6.55.0'
ignoreFailures = true // Don't fail build on PMD violations for now
}
tasks.named('test') {
useJUnitPlatform()
}
// Custom task for CI builds
task ciBuild {
dependsOn 'clean', 'test', 'pmdMain', 'checkstyleMain', 'build'
description = 'Complete CI build with tests, static analysis, and coverage'
}