mirror of
https://github.com/andwati/cymelle.git
synced 2026-11-11 19:25:13 +00:00
44 lines
1.1 KiB
Kotlin
44 lines
1.1 KiB
Kotlin
plugins {
|
|
java
|
|
id("org.springframework.boot") version "4.1.0"
|
|
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")
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|