45 lines
980 B
Groovy
45 lines
980 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.5.7'
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
}
|
|
|
|
group = 'com.kamco.cd'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-batch'
|
|
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
|
|
compileOnly 'org.projectlombok:lombok'
|
|
runtimeOnly 'org.postgresql:postgresql'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
|
|
// JSON
|
|
implementation 'com.fasterxml.jackson.core:jackson-databind'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
bootJar {
|
|
archiveFileName = 'generator-dataset-for-training.jar'
|
|
} |