-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
68 lines (61 loc) · 2.2 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
59
60
61
62
63
64
65
66
67
68
apply plugin: 'java'
version = '0.8.0'
test {
useJUnitPlatform()
}
repositories {
mavenCentral()
}
sourceCompatibility = 17
targetCompatibility = 17
dependencies {
implementation group: 'org.apache.ant', name: 'ant', version: '1.10.12'
implementation(group: 'com.google.guava', name: 'guava', version: '25.1-jre') {
exclude group: 'org.checkerframework', module: 'checker-qual'
exclude group: 'org.codehaus.mojo', module: 'animal-sniffer-annotations'
exclude group: 'com.google.code.findbugs', module: 'jsr305'
exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
exclude group: 'com.google.j2objc', module: 'j2objc-annotations'
}
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.13.0'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.13.2.2'
implementation group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-yaml', version: '2.13.0'
implementation group: 'org.slf4j', name: 'slf4j-api', version: '1.7.32'
implementation group: "org.dita-ot", name: "dost", version: "[4.1,)"
implementation group: 'net.sf.saxon', name: 'Saxon-HE', version: '12.4'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.7.2'
testImplementation 'org.skyscreamer:jsonassert:1.5.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
}
sourceSets {
main {
resources {
srcDirs = ["src/generator", "src/main/resources"]
include "**/*.xsl"
include "**/*.json"
}
}
}
tasks.register('dist', Zip) {
dependsOn tasks.jar
into("lib") {
from("build/libs") {
include "*.jar"
}
}
into("") {
from("src/main/resources") {
include "build.xml"
include "schema.json"
}
from("src/main/resources") {
expand(
id: project.name,
version: project.version
)
include "plugin.xml"
}
}
archiveFileName = "com.elovirta.pdf-${project.version}.zip"
}