+spring furnature example

This commit is contained in:
anon
2024-12-10 20:31:49 +01:00
parent eb0af2c831
commit 6cb4847bc8
10 changed files with 189 additions and 0 deletions

View File

@ -0,0 +1,29 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.1.5'
id 'io.spring.dependency-management' version '1.1.3'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-groovy-templates'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.13.0'
runtimeOnly 'com.h2database:h2'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
tasks.named('test') {
useJUnitPlatform()
}