generated from pricelees/issue-pr-template
49 lines
1.3 KiB
Groovy
49 lines
1.3 KiB
Groovy
plugins {
|
|
id 'org.jetbrains.kotlin.jvm' version '1.9.25'
|
|
id 'org.jetbrains.kotlin.plugin.spring' version '1.9.25'
|
|
id 'org.springframework.boot' version '3.5.3'
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
}
|
|
|
|
group = 'com.sangdol'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'com.fasterxml.jackson.module:jackson-module-kotlin'
|
|
implementation 'org.jetbrains.kotlin:kotlin-reflect'
|
|
implementation 'io.github.oshai:kotlin-logging-jvm:7.0.3'
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testImplementation 'org.jetbrains.kotlin:kotlin-test-junit5'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
}
|
|
|
|
kotlin {
|
|
compilerOptions {
|
|
freeCompilerArgs.addAll '-Xjsr305=strict'
|
|
}
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|