-
Notifications
You must be signed in to change notification settings - Fork 47
/
build.gradle
50 lines (42 loc) · 1.08 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'application'
id 'eclipse'
id "com.diffplug.spotless" version "6.9.0"
}
mainClassName = 'at.laborg.briss.Briss'
applicationDefaultJvmArgs = ["-Xms128m", "-Xmx1024m"]
repositories {
maven { url "https://clojars.org/repo" } // For jpedal
maven { url "https://maven.geotoolkit.org/" } // For jpedal transitive dependencies
mavenCentral()
}
dependencies {
implementation 'com.itextpdf:itextpdf:5.5.10'
implementation 'org.jpedal:jpedal-lgpl:4.74b27'
implementation 'org.bouncycastle:bcprov-jdk15on:1.49'
implementation 'org.bouncycastle:bcpkix-jdk15on:1.49'
testImplementation(platform('org.junit:junit-bom:5.9.1'))
testImplementation('org.junit.jupiter:junit-jupiter')
}
java {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
jar {
manifest {
attributes 'Main-Class': application.mainClass
}
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}
spotless {
java {
eclipse()
}
}