-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
55 lines (45 loc) · 1.56 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '8.1.1'
id "io.freefair.lombok" version "8.11"
}
group = 'voruti'
version = '1.8.0' // change me on new release
description = 'json2config'
repositories {
mavenCentral()
}
dependencies {
// SLF4J as a facade over Log4j2 required dependencies
def log4j_version = "2.24.3"
implementation "org.apache.logging.log4j:log4j-api:$log4j_version"
implementation "org.apache.logging.log4j:log4j-core:$log4j_version"
implementation "org.apache.logging.log4j:log4j-slf4j-impl:$log4j_version"
// Lombok:
def lombok_version = "1.18.36"
compileOnly "org.projectlombok:lombok:$lombok_version"
annotationProcessor "org.projectlombok:lombok:$lombok_version"
testCompileOnly "org.projectlombok:lombok:$lombok_version"
testAnnotationProcessor "org.projectlombok:lombok:$lombok_version"
// picocli:
def picocli_version = "4.7.6"
implementation "info.picocli:picocli:$picocli_version"
annotationProcessor "info.picocli:picocli-codegen:$picocli_version"
// Gson:
implementation 'com.google.code.gson:gson:2.11.0'
// JUnit 5:
def junit_version = "5.11.4"
testImplementation(platform("org.junit:junit-bom:$junit_version"))
testImplementation("org.junit.jupiter:junit-jupiter:$junit_version")
}
compileJava {
options.compilerArgs += ["-Aproject=${project.group}/${project.name}"]
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}
mainClassName = "voruti.json2config.Starter"