31 lines
763 B
Groovy
31 lines
763 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.2.5'
|
|
id 'io.spring.dependency-management' version '1.1.4'
|
|
}
|
|
|
|
group = 'com.example'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
sourceCompatibility = '17'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0'
|
|
implementation 'org.modelmapper:modelmapper:3.2.0'
|
|
// implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.5'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'com.h2database:h2:2.2.224'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|