plugins { id 'java' id 'org.springframework.boot' version '4.0.6' id 'io.spring.dependency-management' version '1.1.7' } group = 'com.example' version = '0.0.1-SNAPSHOT' description = 'server_site_api' java { toolchain { languageVersion = JavaLanguageVersion.of(17) } } repositories { mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'org.springframework.boot:spring-boot-starter-webmvc' testImplementation 'org.springframework.boot:spring-boot-starter-data-jpa-test' testImplementation 'org.springframework.boot:spring-boot-starter-thymeleaf-test' testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test' runtimeOnly 'com.mysql:mysql-connector-j' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' // Source: https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-thymeleaf implementation group: 'org.springframework.boot', name: 'spring-boot-starter-thymeleaf', version: '4.1.0-RC1' } tasks.named('test') { useJUnitPlatform() }