-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
58 lines (48 loc) · 1.24 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
plugins {
id 'application'
id 'java-library'
id "com.github.spotbugs" version "6.0.16"
id 'com.github.ben-manes.versions' version '0.51.0'
id 'pmd'
id 'jacoco'
id 'maven-publish'
}
version = '1.1.5'
group = 'de.tautenhahn.easydata'
repositories {
mavenCentral()
}
dependencies {
implementation "com.google.code.gson:gson:2.11.0"
implementation "org.apache.poi:poi-ooxml:5.2.5"
runtimeOnly 'org.slf4j:slf4j-simple:2.0.12'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testImplementation 'org.assertj:assertj-core:3.26.0'
testImplementation 'org.mockito:mockito-core:5.12.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
application {
mainClass.set('de.tautenhahn.easydata.Main')
}
test {
useJUnitPlatform()
}
check.dependsOn jacocoTestReport
pmd {
toolVersion = '6.52.0'
ruleSets = []
ruleSetFiles = files("pmd_config.xml")
}
publishing {
publications {
EasyData(MavenPublication) {
from components.java
}
}
}
spotbugs {
toolVersion ='4.8.5'
effort = com.github.spotbugs.snom.Effort.MAX
excludeFilter.set(file("findbugs-exclude.xml"))
}