52 lines
1.8 KiB
Groovy
52 lines
1.8 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.4.1'
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
}
|
|
|
|
group = 'com.homelabpulse'
|
|
version = '1.0-SNAPSHOT'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url 'https://repo.spring.io/milestone' }
|
|
maven { url 'https://repo.spring.io/snapshot' }
|
|
}
|
|
|
|
dependencies {
|
|
// Spring
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
implementation platform("org.springframework.ai:spring-ai-bom:1.0.0-SNAPSHOT")
|
|
implementation 'org.springframework.ai:spring-ai-core'
|
|
implementation 'org.springframework.ai:spring-ai-ollama'
|
|
|
|
// Mapstruct & Lombok
|
|
compileOnly 'org.projectlombok:lombok:1.18.36'
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.36'
|
|
implementation 'org.mapstruct:mapstruct:1.6.3'
|
|
annotationProcessor 'org.mapstruct:mapstruct-processor:1.6.3'
|
|
implementation 'org.projectlombok:lombok-mapstruct-binding:0.2.0'
|
|
|
|
// Database
|
|
implementation 'org.flywaydb:flyway-core'
|
|
implementation 'org.flywaydb:flyway-database-postgresql'
|
|
implementation 'org.hibernate.orm:hibernate-core'
|
|
implementation 'org.postgresql:postgresql'
|
|
|
|
// Metrics
|
|
implementation 'io.micrometer:micrometer-registry-prometheus'
|
|
|
|
// Testing
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testCompileOnly 'org.projectlombok:lombok'
|
|
testAnnotationProcessor 'org.projectlombok:lombok'
|
|
testImplementation platform('org.junit:junit-bom:5.10.0')
|
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |