33 lines
755 B
Groovy
33 lines
755 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.0.2'
|
|
id 'io.spring.dependency-management' version '1.1.0'
|
|
}
|
|
|
|
group = 'dev.ptnr'
|
|
version = '1.0.0'
|
|
sourceCompatibility = '17'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// Spring Boot Starter (Web, Test)
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
// Spring Data JPA
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
|
|
// In-Memory DB (H2)
|
|
runtimeOnly 'com.h2database:h2'
|
|
|
|
// Lombok
|
|
compileOnly 'org.projectlombok:lombok:1.18.32'
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.32'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |