-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
52 lines (45 loc) · 1.1 KB
/
build.gradle
File metadata and controls
52 lines (45 loc) · 1.1 KB
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
plugins {
id 'application'
id "com.diffplug.spotless" version "7.0.4"
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
repositories {
mavenCentral()
}
dependencies {
implementation("ch.qos.logback:logback-classic:1.5.18")
// ***** SOCKET MODE DEPENDENCIES ***** -->
implementation("com.slack.api:bolt:1.45.3")
implementation("com.slack.api:bolt-socket-mode:1.45.3")
implementation("javax.websocket:javax.websocket-api:1.1")
implementation("org.glassfish.tyrus.bundles:tyrus-standalone-client:(,1.19]")
// ***** OAUTH DEPENDENCIES *****
implementation("com.slack.api:bolt-jetty:1.45.3")
// ***** TEST DEPENDENCIES *****
testImplementation('org.junit.jupiter:junit-jupiter-engine:5.13.3')
testImplementation('org.mockito:mockito-core:5.18.0')
}
application {
mainClass = 'Main'
}
tasks.named('test') {
useJUnit()
}
spotless {
format 'misc', {
target '*.gradle', '.gitignore'
trimTrailingWhitespace()
indentWithTabs(4)
endWithNewline()
}
java {
palantirJavaFormat()
}
freshmark {
target '*.md'
}
}
compileJava.dependsOn spotlessApply