plugins { java id("org.springframework.boot") version "3.5.3" id("io.spring.dependency-management") version "1.1.7" id("org.flywaydb.flyway") version "11.10.0" } group = "ru.team58" version = "0.0.1-SNAPSHOT" flyway { url = "jdbc:postgresql://localhost:5432/userdb" user = "userdb" password = "1205" driver = "org.postgresql.Driver" } java { toolchain { languageVersion = JavaLanguageVersion.of(17) } } configurations { compileOnly { extendsFrom(configurations.annotationProcessor.get()) } } repositories { mavenCentral() } buildscript { dependencies { classpath("org.flywaydb:flyway-database-postgresql:11.10.0") } } dependencies { 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.flywaydb:flyway-core") implementation("org.flywaydb:flyway-database-postgresql:11.10.0") implementation("org.postgresql:postgresql") implementation("org.apache.logging.log4j:log4j-api:2.22.1") implementation("org.apache.logging.log4j:log4j-core:2.22.1") implementation("org.slf4j:slf4j-api:2.0.13") implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.6") runtimeOnly("org.apache.logging.log4j:log4j-slf4j-impl:2.22.1") compileOnly("org.projectlombok:lombok") annotationProcessor("org.projectlombok:lombok") annotationProcessor("org.mapstruct:mapstruct-processor:1.6.3") implementation("org.mapstruct:mapstruct:1.6.3") testImplementation("org.springframework.boot:spring-boot-starter-test") testImplementation("org.springframework.security:spring-security-test") testRuntimeOnly("org.junit.platform:junit-platform-launcher") } tasks.withType { useJUnitPlatform() }