41 lines
1.2 KiB
Kotlin
41 lines
1.2 KiB
Kotlin
plugins {
|
|
java
|
|
id("org.springframework.boot") version "3.4.3"
|
|
id("io.spring.dependency-management") version "1.1.7"
|
|
}
|
|
|
|
group = "de.oaa.xxx"
|
|
version = "0.0.1-SNAPSHOT"
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
|
implementation("org.springframework.boot:spring-boot-starter-security")
|
|
implementation("org.springframework.boot:spring-boot-starter-mail")
|
|
runtimeOnly("com.mysql:mysql-connector-j")
|
|
implementation("io.jsonwebtoken:jjwt-api:0.12.6")
|
|
runtimeOnly("io.jsonwebtoken:jjwt-impl:0.12.6")
|
|
runtimeOnly("io.jsonwebtoken:jjwt-jackson:0.12.6")
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
testImplementation("org.springframework.security:spring-security-test")
|
|
testRuntimeOnly("com.h2database:h2")
|
|
}
|
|
|
|
tasks.withType<JavaCompile> {
|
|
options.compilerArgs.add("-parameters")
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|