plugins { id 'org.springframework.boot' version '2.6.7' id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'java' } group = 'demo' version = '0.0.1-SNAPSHOT' sourceCompatibility = '11' configurations { compileOnly { extendsFrom annotationProcessor } } repositories { mavenCentral() } dependencies { /* starter */ implementation 'org.springframework.boot:spring-boot-starter-web' testImplementation 'org.springframework.boot:spring-boot-starter-test' /* Data JPA */ implementation 'org.springframework.boot:spring-boot-starter-data-jpa' /* Lombok */ compileOnly 'org.projectlombok:lombok' annotationProcessor 'org.projectlombok:lombok' /* H2 DB */ runtimeOnly 'com.h2database:h2' /* Security */ // implementation 'org.springframework.boot:spring-boot-starter-security' /* Validation */ implementation 'org.springframework.boot:spring-boot-starter-validation' } tasks.named('test') { useJUnitPlatform() }