37 lines
837 B
Groovy
37 lines
837 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '2.7.6'
|
|
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
|
|
}
|
|
|
|
group = 'com.example'
|
|
version = '1.0'
|
|
sourceCompatibility = '11'
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
|
|
|
|
implementation 'commons-fileupload:commons-fileupload:1.4'
|
|
|
|
implementation "me.desair.tus:tus-java-server:1.0.0-2.0"
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|