plugins { java war id("org.springframework.boot") version "3.4.3" id("io.spring.dependency-management") version "1.1.7" } group = "ru.mrfoxygmfr" version = "0.0.1-DEVELOPMENT" java { toolchain { languageVersion = JavaLanguageVersion.of(23) } } configurations { compileOnly { extendsFrom(configurations.annotationProcessor.get()) } } repositories { mavenCentral() } dependencies { implementation("org.springframework.boot:spring-boot-starter-thymeleaf") implementation("org.springframework.boot:spring-boot-starter-web") implementation("org.springframework.boot:spring-boot-starter-data-jpa") implementation("org.springframework.boot:spring-boot-starter-actuator") implementation("io.hypersistence:hypersistence-utils-hibernate-63:3.9.5") compileOnly("org.projectlombok:lombok") compileOnly("jakarta.persistence:jakarta.persistence-api") annotationProcessor("jakarta.persistence:jakarta.persistence-api") annotationProcessor("org.projectlombok:lombok") annotationProcessor("org.hibernate.orm:hibernate-jpamodelgen:6.6.11.Final") runtimeOnly("org.postgresql:postgresql") providedRuntime("org.springframework.boot:spring-boot-starter-tomcat") testImplementation("org.springframework.boot:spring-boot-starter-test") testRuntimeOnly("org.junit.platform:junit-platform-launcher") } tasks.withType { useJUnitPlatform() }