48 lines
1.1 KiB
Groovy
48 lines
1.1 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
id 'com.gradleup.shadow' version '8.3.5'
|
|
}
|
|
|
|
group = 'click.kamil.springstatemachineexporter'
|
|
version = '1.0.0'
|
|
|
|
application {
|
|
mainClass = 'click.kamil.springstatemachineexporter.Main'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// Picocli (standard version)
|
|
implementation 'info.picocli:picocli:4.7.6'
|
|
|
|
// Logging
|
|
implementation 'org.slf4j:slf4j-api:2.0.12'
|
|
implementation 'org.slf4j:slf4j-simple:2.0.12'
|
|
|
|
// deps for parsing java AST
|
|
implementation 'org.eclipse.jdt:org.eclipse.jdt.core:3.36.0'
|
|
|
|
compileOnly 'org.projectlombok:lombok:1.18.46'
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.46'
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:6.1.0'
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-params:6.1.0'
|
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:6.1.0'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:6.1.0'
|
|
testImplementation 'org.assertj:assertj-core:3.27.7'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|