mirror of
https://github.com/booklore-app/booklore.git
synced 2026-02-18 00:17:53 +01:00
Upgrade project environment to Java 25 and Gradle 9 (#1277)
This commit is contained in:
@@ -2,8 +2,8 @@ plugins {
|
||||
id 'java'
|
||||
id 'org.springframework.boot' version '3.5.1'
|
||||
id 'io.spring.dependency-management' version '1.1.7'
|
||||
id 'org.hibernate.orm' version '7.1.0.Final'
|
||||
id 'com.github.ben-manes.versions' version '0.52.0'
|
||||
id 'org.hibernate.orm' version '7.1.3.Final'
|
||||
id 'com.github.ben-manes.versions' version '0.53.0'
|
||||
}
|
||||
|
||||
group = 'com.adityachandel'
|
||||
@@ -11,7 +11,7 @@ version = '0.0.1-SNAPSHOT'
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(21)
|
||||
languageVersion = JavaLanguageVersion.of(25)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,18 +39,18 @@ dependencies {
|
||||
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
|
||||
|
||||
// --- Database & Migration ---
|
||||
implementation 'org.mariadb.jdbc:mariadb-java-client:3.5.4'
|
||||
implementation 'org.flywaydb:flyway-mysql:11.11.0'
|
||||
implementation 'org.mariadb.jdbc:mariadb-java-client:3.5.6'
|
||||
implementation 'org.flywaydb:flyway-mysql:11.13.2'
|
||||
implementation 'jakarta.persistence:jakarta.persistence-api:3.2.0'
|
||||
|
||||
// --- Security & Authentication ---
|
||||
implementation 'io.jsonwebtoken:jjwt-api:0.12.6'
|
||||
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.6'
|
||||
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.6'
|
||||
implementation 'io.jsonwebtoken:jjwt-api:0.13.0'
|
||||
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.13.0'
|
||||
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.13.0'
|
||||
|
||||
// --- Lombok (For Clean Code) ---
|
||||
compileOnly 'org.projectlombok:lombok:1.18.38'
|
||||
annotationProcessor 'org.projectlombok:lombok:1.18.38'
|
||||
compileOnly 'org.projectlombok:lombok:1.18.42'
|
||||
annotationProcessor 'org.projectlombok:lombok:1.18.42'
|
||||
|
||||
// --- Book & Image Processing ---
|
||||
implementation 'org.apache.pdfbox:pdfbox:3.0.5'
|
||||
@@ -64,8 +64,8 @@ dependencies {
|
||||
implementation 'com.github.junrar:junrar:7.5.5'
|
||||
|
||||
// --- JSON & Web Scraping ---
|
||||
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.19.2'
|
||||
implementation 'org.jsoup:jsoup:1.21.1'
|
||||
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.20.0'
|
||||
implementation 'org.jsoup:jsoup:1.21.2'
|
||||
|
||||
// --- Mapping (DTOs & Entities) ---
|
||||
implementation 'org.mapstruct:mapstruct:1.6.3'
|
||||
@@ -80,8 +80,6 @@ dependencies {
|
||||
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||||
testImplementation 'org.assertj:assertj-core:3.27.3'
|
||||
testImplementation "org.mockito:mockito-inline:5.2.0"
|
||||
testImplementation 'org.testcontainers:junit-jupiter:1.20.4'
|
||||
testImplementation 'org.testcontainers:mariadb:1.20.4'
|
||||
}
|
||||
|
||||
hibernate {
|
||||
|
||||
Reference in New Issue
Block a user