Skip to content

Commit c60ded8

Browse files
committed
Update dependencies to use compileOnly scope and upgrade versions
1 parent fe7e78d commit c60ded8

1 file changed

Lines changed: 23 additions & 21 deletions

File tree

build.gradle

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -34,40 +34,42 @@ repositories {
3434

3535
dependencies {
3636
// Spring Boot starters
37-
implementation 'org.springframework.boot:spring-boot-starter-actuator'
38-
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
39-
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
40-
implementation 'org.springframework.boot:spring-boot-starter-mail'
41-
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
42-
implementation 'org.springframework.boot:spring-boot-starter-security'
43-
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
44-
implementation 'org.springframework.boot:spring-boot-starter-web'
45-
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6:3.1.2.RELEASE'
46-
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:3.3.0'
47-
37+
compileOnly 'org.springframework.boot:spring-boot-starter-actuator'
38+
compileOnly 'org.springframework.boot:spring-boot-starter-data-jpa'
39+
compileOnly 'org.springframework.boot:spring-boot-starter-jdbc'
40+
compileOnly 'org.springframework.boot:spring-boot-starter-mail'
41+
compileOnly 'org.springframework.boot:spring-boot-starter-oauth2-client'
42+
compileOnly 'org.springframework.boot:spring-boot-starter-security'
43+
compileOnly 'org.springframework.boot:spring-boot-starter-thymeleaf'
44+
compileOnly "org.springframework.boot:spring-boot-starter-web:$springBootVersion"
45+
compileOnly 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6:3.1.3.RELEASE'
46+
compileOnly 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:3.3.0'
4847

4948
// Other dependencies
5049
runtimeOnly 'org.springframework.boot:spring-boot-devtools'
51-
// runtimeOnly 'io.micrometer:micrometer-registry-new-relic'
52-
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client:3.5.0'
50+
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client:3.5.1'
5351
runtimeOnly 'org.postgresql:postgresql'
5452
implementation 'org.passay:passay:1.6.6'
55-
implementation 'com.google.guava:guava:33.3.1-jre'
56-
implementation 'org.springframework.boot:spring-boot-starter-actuator'
53+
implementation 'com.google.guava:guava:33.4.0-jre'
54+
compileOnly 'org.springframework.boot:spring-boot-starter-actuator'
55+
compileOnly 'jakarta.validation:jakarta.validation-api:3.1.0'
56+
57+
// Lombok dependencies
58+
compileOnly "org.projectlombok:lombok:$lombokVersion"
59+
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor:$springBootVersion"
60+
annotationProcessor "org.projectlombok:lombok:$lombokVersion"
5761

58-
compileOnly 'javax.validation:validation-api:2.0.1.Final'
59-
compileOnly 'org.projectlombok:lombok'
60-
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
61-
annotationProcessor 'org.projectlombok:lombok'
62+
// Lombok dependencies for test classes
63+
testCompileOnly "org.projectlombok:lombok:$lombokVersion"
64+
testAnnotationProcessor "org.projectlombok:lombok:$lombokVersion"
6265

6366
// Test dependencies
6467
testImplementation "org.springframework.boot:spring-boot-starter-test:$springBootVersion"
6568
testImplementation "org.springframework.boot:spring-boot-starter-web:$springBootVersion"
6669
testImplementation 'org.springframework.boot:spring-boot-starter-data-jpa'
6770
testImplementation 'org.springframework.security:spring-security-test'
6871
testImplementation 'com.h2database:h2:2.3.232'
69-
testImplementation group: 'com.codeborne', name: 'selenide', version: '7.5.1'
70-
testImplementation group: 'io.github.bonigarcia', name: 'webdrivermanager', version: '5.9.2'
72+
}
7173

7274
tasks.named('bootJar') {
7375
enabled = false

0 commit comments

Comments
 (0)