-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.gradle
More file actions
31 lines (24 loc) · 741 Bytes
/
build.gradle
File metadata and controls
31 lines (24 loc) · 741 Bytes
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
apply plugin: 'java'
version = '1.0.2'
repositories {
mavenCentral()
}
jar {
manifest {
attributes("Implementation-Title": "XmlValidate",
"Implementation-Version": version,
"Main-Class": "org.mitre.xml.validate.XmlValidate",
"Class-Path": "jdom2-2.0.6.1.jar xercesImpl-2.12.2.jar xml-apis-1.4.01.jar")
}
}
task install(dependsOn: jar, type: Copy) {
// copy dependent jars into lib directory for .bat files to run
description 'Copies the dependencies to the build/libs directory.'
into "$buildDir/libs"
from configurations.runtimeClasspath
}
dependencies {
implementation 'org.jdom:jdom2:2.0.6.1'
implementation 'xerces:xercesImpl:2.12.2'
testImplementation 'junit:junit:4.13.2'
}