buildscript { repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:2.6.4") } } apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'idea' apply plugin: 'org.springframework.boot' apply plugin: 'io.spring.dependency-management' repositories { mavenCentral() } sourceCompatibility = 11 targetCompatibility = 11 dependencies { implementation group: 'org.springframework.boot', name: 'spring-boot-starter-web' implementation group: 'org.springframework.boot', name: 'spring-boot-starter-thymeleaf' implementation group: 'org.springframework.boot', name: 'spring-boot-devtools' implementation group: 'org.springframework.boot', name: 'spring-boot-starter-data-jpa' implementation group: 'com.h2database', name: 'h2' implementation group: 'javax.xml.bind', name: 'jaxb-api' implementation group: 'javax.validation', name: 'validation-api', version: '2.0.1.Final' implementation group: 'javassist', name: 'javassist', version: '3.12.1.GA' implementation group: 'junit', name: 'junit' }