plugins { id 'java' id 'org.springframework.boot' version '3.1.4' id 'io.spring.dependency-management' version '1.1.3' } group = 'com.goi' version = '0.0.1-SNAPSHOT' description = 'Operation REST Api' java { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } repositories { mavenCentral() } dependencies { // Spring Boot starters implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'org.springframework.boot:spring-boot-starter-actuator' // OpenAPI / Swagger UI implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.1.0' // Hibernate extra types implementation 'com.vladmihalcea:hibernate-types-60:2.21.1' // JWT (jjwt) — api at compile time, impl/jackson only at runtime implementation 'io.jsonwebtoken:jjwt-api:0.11.5' runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.5' runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5' // PostgreSQL driver (runtime scope in Maven) runtimeOnly 'org.postgresql:postgresql' // Lombok (optional in Maven -> compileOnly + annotationProcessor in Gradle) compileOnly 'org.projectlombok:lombok' annotationProcessor 'org.projectlombok:lombok' // webclient implementation 'org.springframework.boot:spring-boot-starter-webflux' // Test testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'org.springframework.security:spring-security-test' } tasks.named('test') { useJUnitPlatform() }