-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
40 lines (33 loc) · 875 Bytes
/
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
plugins {
id 'application'
id 'com.diffplug.spotless' version '6.25.0'
}
group = 'io.littlehorse.quickstart'
version = '1.0-SNAPSHOT'
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation 'io.littlehorse:littlehorse-client:0.12.5'
implementation 'org.slf4j:slf4j-api:2.0.7'
implementation 'org.apache.logging.log4j:log4j-slf4j2-impl:2.20.0'
}
application {
mainClass = 'io.littlehorse.quickstart.Main'
}
spotless {
java {
target('**/*.java')
palantirJavaFormat()
}
}
// This is helpful so that we can use the Reflection API to determine the names
// of parameters for Task Functions and match them to the TaskDef param names.
compileJava {
options.compilerArgs << '-parameters'
}