30 lines
576 B
Groovy
30 lines
576 B
Groovy
|
plugins {
|
||
|
id 'java'
|
||
|
id 'org.springframework.boot' version '3.3.3'
|
||
|
id 'io.spring.dependency-management' version '1.1.6'
|
||
|
}
|
||
|
|
||
|
group = 'com.ulstu'
|
||
|
version = '0.0.1-SNAPSHOT'
|
||
|
|
||
|
java {
|
||
|
toolchain {
|
||
|
languageVersion = JavaLanguageVersion.of(17)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||
|
runtimeOnly 'com.h2database:h2'
|
||
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
||
|
}
|
||
|
|
||
|
tasks.named('test') {
|
||
|
useJUnitPlatform()
|
||
|
}
|