67 lines
2.0 KiB
Groovy
67 lines
2.0 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.4.0'
|
|
id 'io.spring.dependency-management' version '1.1.6'
|
|
id 'org.hibernate.orm' version '6.6.2.Final'
|
|
}
|
|
|
|
group = 'com.adityachandel'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// Spring Boot
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation 'org.springframework.boot:spring-boot-starter-websocket'
|
|
implementation 'org.springframework.boot:spring-boot-starter-quartz'
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
implementation 'org.springframework.boot:spring-boot-configuration-processor'
|
|
|
|
// Lombok
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
// Database & Flyway
|
|
implementation 'com.h2database:h2'
|
|
implementation 'org.flywaydb:flyway-mysql:10.12.0'
|
|
|
|
// Book and Image Libraries
|
|
implementation 'org.apache.pdfbox:pdfbox:3.0.3'
|
|
implementation 'org.apache.pdfbox:jbig2-imageio:3.0.3'
|
|
implementation 'com.github.jai-imageio:jai-imageio-core:1.4.0'
|
|
implementation 'com.github.jai-imageio:jai-imageio-jpeg2000:1.3.0'
|
|
implementation 'io.documentnode:epub4j-core:4.2.2'
|
|
|
|
// JSON & Web
|
|
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.2'
|
|
implementation 'org.jsoup:jsoup:1.18.3'
|
|
|
|
// MapStruct
|
|
implementation 'org.mapstruct:mapstruct:1.6.3'
|
|
annotationProcessor 'org.mapstruct:mapstruct-processor:1.6.3'
|
|
|
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.3'
|
|
}
|
|
|
|
hibernate {
|
|
enhancement {
|
|
enableAssociationManagement = true
|
|
}
|
|
} |