12345678910111213141516171819202122232425262728293031323334 |
- plugins {
- id 'java'
- id 'org.springframework.boot' version '3.2.1'
- id 'io.spring.dependency-management' version '1.1.4'
- }
- group = 'com.example'
- version = '0.0.1-SNAPSHOT'
- java {
- sourceCompatibility = '17'
- }
- configurations {
- compileOnly {
- extendsFrom annotationProcessor
- }
- }
- dependencies {
- implementation 'org.springframework.boot:spring-boot-starter-web'
- implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
- implementation 'org.springframework.boot:spring-boot-starter-validation'
- compileOnly 'org.projectlombok:lombok'
- runtimeOnly 'com.microsoft.sqlserver:mssql-jdbc'
- runtimeOnly 'com.h2database:h2'
- developmentOnly 'org.springframework.boot:spring-boot-devtools'
- annotationProcessor 'org.projectlombok:lombok'
- testImplementation 'org.springframework.boot:spring-boot-starter-test'
- }
- tasks.named('test') {
- useJUnitPlatform()
- }
|