67 lines
2.0 KiB
Plaintext
67 lines
2.0 KiB
Plaintext
plugins {
|
|
id("org.springframework.boot") version "3.3.0"
|
|
id("io.spring.dependency-management") version "1.1.5"
|
|
kotlin("plugin.jpa") version "1.9.24"
|
|
kotlin("jvm") version "1.9.24"
|
|
kotlin("plugin.spring") version "1.9.24"
|
|
kotlin("plugin.allopen") version "1.9.22"
|
|
}
|
|
|
|
group = "at.eisibaer"
|
|
version = "0.0.1-SNAPSHOT"
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom(configurations.annotationProcessor.get())
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
val jjwtVersion: String = "0.12.6";
|
|
val bcVersion: String = "1.78.1";
|
|
|
|
dependencies {
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
|
implementation("org.springframework.boot:spring-boot-starter-security")
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
implementation("org.springframework.boot:spring-boot-starter-websocket")
|
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
|
implementation("io.jsonwebtoken:jjwt-api:$jjwtVersion")
|
|
implementation("org.bouncycastle:bcprov-jdk18on:$bcVersion")
|
|
compileOnly("org.projectlombok:lombok")
|
|
developmentOnly("org.springframework.boot:spring-boot-devtools")
|
|
runtimeOnly("org.postgresql:postgresql")
|
|
runtimeOnly("io.jsonwebtoken:jjwt-impl:$jjwtVersion")
|
|
runtimeOnly("io.jsonwebtoken:jjwt-jackson:$jjwtVersion")
|
|
annotationProcessor("org.projectlombok:lombok")
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")
|
|
testImplementation("org.springframework.security:spring-security-test")
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
}
|
|
|
|
kotlin {
|
|
compilerOptions {
|
|
freeCompilerArgs.addAll("-Xjsr305=strict")
|
|
}
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
allOpen {
|
|
annotation("jakarta.persistence.Entity")
|
|
annotation("jakarta.persistence.Embeddable")
|
|
annotation("jakarta.persistence.MappedSuperclass")
|
|
} |