-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
64 lines (54 loc) · 1.7 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
56
57
58
59
60
61
62
63
64
plugins {
id 'java'
}
group 'me.mprieto'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
ext {
versions = [
antlr4 : '4.11.1',
commonsCli: '1.4',
lombok : '1.18.24',
jackson : '2.14.1',
conductor : '3.13.2',
junit : '5.8.1'
]
}
dependencies {
//TODO logging dependencies + configuration
//FIXME we only need the antrl4-runtime but while developing the BatonTestRig class is very useful.
implementation "org.antlr:antlr4:${versions.antlr4}"
implementation "commons-cli:commons-cli:${versions.commonsCli}"
compileOnly "org.projectlombok:lombok:${versions.lombok}"
annotationProcessor "org.projectlombok:lombok:${versions.lombok}"
implementation "com.fasterxml.jackson.core:jackson-databind:${versions.jackson}"
implementation "com.fasterxml.jackson.core:jackson-core:${versions.jackson}"
implementation "com.netflix.conductor:conductor-common:${versions.conductor}"
testCompileOnly "org.projectlombok:lombok:${versions.lombok}"
testAnnotationProcessor "org.projectlombok:lombok:${versions.lombok}"
testImplementation "org.junit.jupiter:junit-jupiter-api:${versions.junit}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${versions.junit}"
}
sourceSets {
main {
java {
srcDir 'src/main/java'
srcDir 'src/main/gen'
}
}
}
test {
useJUnitPlatform()
}
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
attributes 'Main-Class': 'me.mprieto.baton.Main'
}
from {
configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
baseName 'baton'
}