2023-08-13 15:31:47 +02:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'org.springframework.boot' version '3.1.2'
|
|
|
|
id 'io.spring.dependency-management' version '1.1.2'
|
|
|
|
}
|
|
|
|
|
|
|
|
group = 'djmil'
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
|
|
|
|
java {
|
|
|
|
sourceCompatibility = '17'
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-08-21 18:01:46 +02:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
2023-08-13 15:31:47 +02:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
2023-08-19 19:57:01 +02:00
|
|
|
implementation 'org.apache.httpcomponents.client5:httpclient5:5.2.1'
|
2023-08-13 15:31:47 +02:00
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
testImplementation 'io.projectreactor:reactor-test'
|
2023-08-21 18:01:46 +02:00
|
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
|
|
|
2023-08-13 15:31:47 +02:00
|
|
|
//testImplementation 'org.springframework.security:spring-security-test'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named('test') {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
2023-09-01 16:20:40 +02:00
|
|
|
|
|
|
|
// Mostly necessary for VsCode IDE
|
|
|
|
sourceSets {
|
|
|
|
test {
|
|
|
|
java {
|
|
|
|
srcDirs = ['src/test/java']
|
|
|
|
}
|
|
|
|
resources {
|
|
|
|
srcDirs = ['src/test/resources']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|