-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (42 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
/*
* This file is part of the DITA Open Toolkit project.
*
* Copyright 2017 Jarno Elovirta
*
* See the accompanying LICENSE file for applicable license.
*/
apply plugin: 'java'
apply plugin: 'maven'
group = 'org.dita-ot.eclipsehelp'
archivesBaseName = 'eclipsehelp'
version = '3.5.0-SNAPSHOT'
description = """DITA Open Toolkit Eclipse Help plug-in."""
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile group: 'org.dita-ot', name: 'dost', version: '3.3.4'
testImplementation group: 'junit', name: 'junit', version:'4.12'
testImplementation group: 'org.xmlunit', name: 'xmlunit-core', version: '2.3.0'
testImplementation group: 'nu.validator.htmlparser', name: 'htmlparser', version:'1.4'
}
jar.archiveName = "${project.name}.jar"
task dist(type: Zip, dependsOn: [jar]) {
into("lib") {
from(configurations.runtime.allArtifacts.files)
}
from(".") {
include "build_dita2eclipsehelp_template.xml"
include "xsl/**"
include "LICENSE"
include "README.md"
}
from (".") {
include "plugin.xml"
expand(
version: project.version
)
}
archiveName "${project.group}-${project.version}.zip"
}