2024-02-23 12:00:36 +01:00
|
|
|
plugins {
|
|
|
|
java
|
|
|
|
id("org.springframework.boot") version "3.2.2"
|
|
|
|
id("io.spring.dependency-management") version "1.1.4"
|
|
|
|
}
|
|
|
|
|
|
|
|
group = "ovh.herisson"
|
|
|
|
version = "0.0.1-SNAPSHOT"
|
|
|
|
|
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_21
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-02-27 12:08:28 +01:00
|
|
|
implementation("org.springframework.boot:spring-boot-starter-jdbc")
|
2024-02-29 08:53:33 +01:00
|
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
2024-02-23 12:00:36 +01:00
|
|
|
implementation("org.springframework.boot:spring-boot-starter-mail")
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
2024-02-29 20:08:12 +01:00
|
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
2024-03-06 17:30:13 +01:00
|
|
|
implementation("org.springframework.boot:spring-boot-starter-security")
|
2024-03-06 10:52:11 +01:00
|
|
|
implementation("com.kohlschutter.junixsocket:junixsocket-core:2.9.0")
|
2024-02-27 14:24:26 +01:00
|
|
|
// implementation("org.springframework.session:spring-session-jdbc")
|
2024-02-23 12:00:36 +01:00
|
|
|
developmentOnly("org.springframework.boot:spring-boot-devtools")
|
2024-03-24 13:37:27 +01:00
|
|
|
// developmentOnly("org.springframework.boot:spring-boot-docker-compose")
|
2024-02-23 12:00:36 +01:00
|
|
|
runtimeOnly("org.postgresql:postgresql")
|
|
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
2024-02-27 12:08:28 +01:00
|
|
|
testImplementation("org.springframework.boot:spring-boot-testcontainers")
|
|
|
|
testImplementation("org.testcontainers:junit-jupiter")
|
|
|
|
testImplementation("org.testcontainers:postgresql")
|
2024-03-17 15:40:14 +01:00
|
|
|
testImplementation("io.rest-assured:rest-assured")
|
|
|
|
testImplementation("org.hamcrest:hamcrest")
|
2024-02-23 12:00:36 +01:00
|
|
|
}
|
|
|
|
|
2024-03-17 15:40:14 +01:00
|
|
|
|
2024-02-23 12:00:36 +01:00
|
|
|
tasks.register("run") {
|
|
|
|
dependsOn(tasks.bootRun)
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
tasks.withType<Test> {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
2024-03-13 15:48:28 +01:00
|
|
|
|