Spaces:
Sleeping
Sleeping
plugins { | |
id 'java' | |
id 'org.springframework.boot' version '3.3.1' | |
id 'io.spring.dependency-management' version '1.1.5' | |
} | |
group = 'com.order' | |
version = '0.0.1-SNAPSHOT' | |
java { | |
toolchain { | |
languageVersion = JavaLanguageVersion.of(17) | |
} | |
} | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
compileOnly 'org.projectlombok:lombok:1.18.30' | |
annotationProcessor 'org.projectlombok:lombok:1.18.30' | |
implementation 'org.springframework.boot:spring-boot-starter-data-jpa' | |
implementation 'org.springframework.boot:spring-boot-starter-web' | |
implementation 'org.springframework.kafka:spring-kafka' | |
runtimeOnly 'com.h2database:h2' | |
testImplementation 'org.springframework.boot:spring-boot-starter-test' | |
testImplementation 'org.springframework.kafka:spring-kafka-test' | |
testRuntimeOnly 'org.junit.platform:junit-platform-launcher' | |
} | |
tasks.named('test') { | |
useJUnitPlatform() | |
} | |