1
1
plugins {
2
2
java
3
- application
4
- id(" org.springframework.boot" ) version " 3.4.1"
5
- id(" io.spring.dependency-management" ) version " 1.1.7"
6
- id(" net.ltgt.errorprone" ) version " 4.1.0"
7
- }
8
-
9
- group = " com.github.bgalek"
10
- version = " 1.0.0"
11
-
12
- java {
13
- toolchain {
14
- languageVersion.set(JavaLanguageVersion .of(21 ))
15
- }
16
- }
17
-
18
- repositories {
19
- mavenCentral()
3
+ alias(libs.plugins.error.prone)
20
4
}
21
5
22
6
dependencies {
23
- annotationProcessor(" org.springframework.boot:spring-boot-configuration-processor" )
24
- errorprone(" com.google.errorprone:error_prone_core:2.36.0" )
25
- implementation(" org.springframework.boot:spring-boot-starter-web" )
26
- implementation(" org.springframework.session:spring-session-jdbc" )
27
- implementation(" org.springframework.boot:spring-boot-starter-jdbc" )
28
- implementation(" org.springframework.boot:spring-boot-starter-actuator" )
29
- implementation(" io.sentry:sentry-spring-boot-starter-jakarta:7.20.0" )
30
- implementation(" com.azure:azure-ai-openai:1.0.0-beta.13" )
31
- implementation(" com.github.ben-manes.caffeine:caffeine:3.1.8" )
32
- runtimeOnly(" io.micrometer:micrometer-registry-prometheus:1.14.2" )
33
- runtimeOnly(" org.postgresql:postgresql" )
34
- }
35
-
36
- configurations {
37
- compileOnly {
38
- extendsFrom(configurations.annotationProcessor.get())
39
- }
7
+ implementation(platform(libs.spring.boot.dependencies))
8
+ errorprone(libs.error.prone)
9
+ implementation(libs.spring.boot.starter.web)
10
+ implementation(libs.spring.session.jdbc)
11
+ implementation(libs.spring.boot.starter.jdbc)
12
+ implementation(libs.spring.boot.starter.actuator)
13
+ implementation(libs.sentry.spring.boot.starter)
14
+ implementation(libs.azure.ai.openai)
15
+ implementation(libs.caffeine)
16
+ runtimeOnly(libs.micrometer.registry.prometheus)
17
+ runtimeOnly(libs.postgresql)
18
+ runtimeOnly(libs.hsqldb)
40
19
}
41
20
42
21
tasks.withType<Test > {
43
22
useJUnitPlatform()
44
- }
45
-
46
- tasks.processResources {
47
- dependsOn(" :frontend:build" )
48
- }
49
-
50
- tasks.jar {
51
- enabled = false
52
- }
53
-
54
- tasks.distZip {
55
- enabled = false
56
- }
57
-
58
- tasks.distTar {
59
- enabled = false
60
- }
23
+ }
0 commit comments