buildscript { repositories { mavenCentral() } dependencies { classpath 'org.flywaydb:flyway-database-postgresql:_' classpath 'org.postgresql:postgresql:_' } } plugins { id 'java' id 'org.springframework.boot' id 'org.flywaydb.flyway' id 'io.spring.dependency-management' } group = 'com.bernard' version = 'beta' java { toolchain { languageVersion = JavaLanguageVersion.of(21) } } repositories { mavenCentral() } dependencies { implementation Spring.boot.data.jpa implementation Spring.boot.jdbc implementation Spring.boot.thymeleaf implementation Spring.boot.security implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6:_' implementation Spring.boot.web implementation 'org.springframework:spring-jdbc:_' implementation 'org.flywaydb:flyway-core:_' implementation 'org.flywaydb:flyway-database-postgresql:_' implementation Spring.session.jdbc implementation 'jakarta.validation:jakarta.validation-api:_' runtimeOnly 'org.webjars:jquery:_' runtimeOnly 'org.webjars:lodash:_' developmentOnly Spring.boot.devTools runtimeOnly 'org.postgresql:postgresql:_' testImplementation Spring.boot.test testRuntimeOnly 'org.junit.platform:junit-platform-launcher:_' implementation 'com.fasterxml.jackson.core:jackson-databind:_' implementation 'com.fasterxml.jackson.datatype:jackson-datatype-hibernate5:_' //Lombok compileOnly 'org.projectlombok:lombok:_' annotationProcessor 'org.projectlombok:lombok:_' testCompileOnly 'org.projectlombok:lombok:_' testAnnotationProcessor 'org.projectlombok:lombok:_' } flyway { url = "jdbc:postgresql://127.0.0.1:5432/misael" user = 'misael' password = 'misael-dev' driver = 'org.postgresql.Driver' schemas = ['misael'] } tasks.named('test') { useJUnitPlatform() }