-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (50 loc) · 1.21 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
/*
* This file is part of the DITA Open Toolkit project.
*
* Copyright 2015 Jarno Elovirta
*
* See the accompanying LICENSE file for applicable license.
*/
apply plugin: 'java-library'
group = 'org.dita.pdf2'
version = '3.6.3'
description = """DITA Open Toolkit PDF plug-in for RenderX."""
repositories {
mavenCentral()
}
dependencies {
implementation group: 'org.dita-ot', name: 'dost', version: '3.6.0'
}
sourceSets {
main {
java {
srcDir 'src'
}
}
}
jar.archiveFileName = "${project.name}.jar"
jar.include "com/idiominc/**"
task dist(type: Zip, dependsOn: [jar]) {
from(configurations.archives.artifacts.files) {
into("lib")
}
from(".") {
include "LICENSE"
include "README.md"
}
from(".") {
include "build.xml"
include "cfg/**"
include "resource/**"
include "xsl/**"
}
from(".") {
include "plugin.xml"
expand(
id: "${project.group}.${project.archivesBaseName}",
version: project.version,
jar: "lib/${jar.archiveFileName.get()}"
)
}
archiveFileName = "${project.group}.${project.archivesBaseName}-${project.version}.zip"
}