-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
50 lines (37 loc) · 899 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
41
42
43
44
45
46
47
48
49
50
def mainPackage = "net.sourceforge.pdfjumbler"
def mainClass = "${mainPackage}.PdfJumbler"
apply plugin: "java"
apply plugin: "idea"
compileJava.options.encoding = 'UTF-8'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
defaultTasks "jar"
repositories {
mavenCentral()
}
sourceSets {
main
}
dependencies {
compile 'org.tinylog:tinylog-api:2.1.2'
compile 'org.tinylog:tinylog-impl:2.1.2'
compile 'org.apache.pdfbox:pdfbox:2.0.21'
compile 'org.apache.xmlgraphics:batik-transcoder:1.13'
compile 'com.formdev:flatlaf:0.41'
}
jar {
dependsOn classes
archiveFileName = "pdfjumbler.jar"
manifest {
attributes(
"Main-Class": mainClass
)
}
from sourceSets.main.output
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}