mirror of
https://github.com/andwati/cymelle.git
synced 2026-10-18 08:22:54 +00:00
51 lines
1.3 KiB
Kotlin
51 lines
1.3 KiB
Kotlin
plugins {
|
|
java
|
|
id("org.springframework.boot") version "3.5.15"
|
|
id("io.spring.dependency-management") version "1.1.7"
|
|
}
|
|
|
|
group = "com.andwati"
|
|
version = "0.0.1-SNAPSHOT"
|
|
description = "orders-backend"
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
}
|
|
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
implementation("org.springframework.boot:spring-boot-starter-validation")
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
|
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
|
|
|
|
|
|
runtimeOnly("com.h2database:h2")
|
|
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
testImplementation("org.mockito:mockito-core")
|
|
runtimeOnly("org.postgresql:postgresql")
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
|
|
// dotenv
|
|
implementation("io.github.cdimascio:dotenv-java:3.2.0")
|
|
|
|
//swagger
|
|
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.16")
|
|
|
|
// spring security
|
|
implementation("org.springframework.boot:spring-boot-starter-security")
|
|
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|