80 lines
2.3 KiB
Plaintext
80 lines
2.3 KiB
Plaintext
plugins {
|
|
kotlin("jvm") version "1.9.25"
|
|
kotlin("plugin.spring") version "1.9.25"
|
|
id("org.springframework.boot") version "3.4.3"
|
|
id("io.spring.dependency-management") version "1.1.7"
|
|
kotlin("plugin.jpa") version "1.9.25"
|
|
kotlin("kapt") version "1.9.25"
|
|
|
|
}
|
|
|
|
group = "org.js"
|
|
version = "0.0.1-SNAPSHOT"
|
|
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom(configurations.annotationProcessor.get())
|
|
}
|
|
}
|
|
|
|
kapt {
|
|
correctErrorTypes = true
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
|
implementation("org.springframework.boot:spring-boot-starter-mail")
|
|
implementation("org.springframework.boot:spring-boot-starter-security")
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
|
|
implementation("org.springframework.boot:spring-boot-starter")
|
|
implementation("org.springframework.boot:spring-boot-starter-validation")
|
|
implementation("org.springframework.boot:spring-boot-starter-actuator")
|
|
developmentOnly("org.springframework.boot:spring-boot-devtools")
|
|
implementation("org.postgresql:postgresql:42.7.2")
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
|
compileOnly("org.projectlombok:lombok")
|
|
annotationProcessor("org.projectlombok:lombok")
|
|
|
|
implementation("org.mapstruct:mapstruct:1.6.0")
|
|
kapt("org.mapstruct:mapstruct-processor:1.6.0")
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
|
kapt("org.springframework.boot:spring-boot-configuration-processor")
|
|
|
|
implementation("io.jsonwebtoken:jjwt-api:0.12.6")
|
|
runtimeOnly("io.jsonwebtoken:jjwt-impl:0.12.6")
|
|
runtimeOnly("io.jsonwebtoken:jjwt-gson:0.12.6")
|
|
}
|
|
|
|
kotlin {
|
|
compilerOptions {
|
|
freeCompilerArgs.addAll("-Xjsr305=strict")
|
|
}
|
|
}
|
|
|
|
allOpen {
|
|
annotation("jakarta.persistence.Entity")
|
|
annotation("jakarta.persistence.MappedSuperclass")
|
|
annotation("jakarta.persistence.Embeddable")
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks.register<Exec>("testJeko") {
|
|
commandLine("docker", "build", "-t", "be-local:$version", ".")
|
|
}
|