plugins { id 'java' id 'org.springframework.boot' version '3.5.15' id 'io.spring.dependency-management' version '1.1.7' } group = 'es.asepeyo' version = '0.0.1-SNAPSHOT' java { toolchain { languageVersion = JavaLanguageVersion.of(21) } } repositories { mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter-actuator' implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.liquibase:liquibase-core' runtimeOnly 'org.postgresql:postgresql' // H2 solo en test: permite que el contexto cargue sin un Postgres real en la // Fase 1 (esqueleto). La infraestructura de test realista (Testcontainers) // se introducirá en la Fase 2, junto con el dominio. testRuntimeOnly 'com.h2database:h2' testImplementation 'org.springframework.boot:spring-boot-starter-test' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } tasks.named('test') { useJUnitPlatform() }