-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
56 lines (48 loc) · 1.57 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
plugins {
id "java"
id "application"
id "com.diffplug.spotless" version "6.12.0"
}
group "de.tum.cit.ase.artemis_notification_plugin"
version "0.0.1"
description "Notification Plugin for Sending Test Reports to Artemis"
repositories {
mavenCentral()
}
dependencies {
implementation "de.tum.in.ase:static-code-analysis-parser:1.4.0"
implementation "org.apache.logging.log4j:log4j-api:${log4j_version}"
implementation "org.apache.logging.log4j:log4j-core:${log4j_version}"
implementation "com.google.code.gson:gson:2.9.0"
implementation "commons-io:commons-io:2.11.0"
implementation "org.apache.httpcomponents:fluent-hc:4.5.13"
implementation "com.google.code.findbugs:jsr305:3.0.2"
implementation "com.fasterxml.jackson.core:jackson-annotations:2.13.4"
implementation "com.sun.xml.bind:jaxb-impl:2.3.8"
implementation "javax.xml.bind:jaxb-api:2.3.1"
testImplementation "org.junit.jupiter:junit-jupiter-api:${junit_version}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junit_version}"
}
application {
getMainClass().set("de.tum.cit.ase.artemis_notification_plugin.CLIPlugin")
}
jar {
manifest {
attributes(
'Main-Class': 'de.tum.cit.ase.artemis_notification_plugin.CLIPlugin'
)
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
test {
useJUnitPlatform()
}
spotless {
ratchetFrom "origin/main"
java{
eclipse().configFile("spotless-style.xml")
}
}