-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
48 lines (36 loc) · 1.62 KB
/
build.gradle
File metadata and controls
48 lines (36 loc) · 1.62 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
plugins {
// Applies the Java plugin for building Java apps
id 'java'
// Adds Spring Boot support and task for running your app
id 'org.springframework.boot' version '3.2.2'
// Keeps dependency versions compatible with Spring Boot
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'com.nhp' // Java package namespace / artifact group ID
version = '0.0.1-SNAPSHOT' // App version
// Java language compatibility (you're using Java 23)
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
repositories {
mavenCentral() // Main place to fetch Java libraries from
}
dependencies {
// Core Spring Boot (reactive) for handling WebSocket & non-blocking IO
implementation 'org.springframework.boot:spring-boot-starter-webflux'
// JPA for DB access, PostgreSQL driver for TimescaleDB
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.postgresql:postgresql'
// Redis for prefix visibility tracking
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'io.micrometer:micrometer-registry-prometheus'
// Lombok: generate boilerplate (getters, constructors, etc.)
implementation 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
implementation("com.google.guava:guava:33.4.6-jre")
// Testing tools
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.projectreactor:reactor-test'
}