forked from shevek/simple-xml
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
44 lines (35 loc) · 1.09 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
buildscript {
apply from: file('gradle/buildscript.gradle'), to: buildscript
}
apply plugin: 'org.anarres.stdproject'
stdproject {
javadocQuiet true
}
group = "org.anarres.mirrors.simpleframework"
apply plugin: 'org.anarres.stdmodule'
stdmodule {
description "Simple is a high performance XML serialization and configuration framework for Java."
author id: 'shevek', name: 'Shevek', email: '[email protected]'
author id: 'niallg', name: 'Niall Gallagher', email: '[email protected]'
license 'Apache-2.0'
}
sourceCompatibility = 1.5
animalsniffer {
signature = "org.codehaus.mojo.signature:java16:+@signature"
}
dependencies {
// Not required with kxml2.
// compile 'xpp3:xpp3:1.1.4c'
// Not required with new JDKs.
// compile 'stax:stax:1.2.0'
// Recommended, but not required?
// compile 'org.codehaus.woodstox:stax2-api:3.1.4'
compile 'net.sf.kxml:kxml2:2.3.0'
}
test {
systemProperty 'output', 'build/tmp/output'
// https://bugs.openjdk.java.net/browse/JDK-8028111
if (!JavaVersion.current().isJava8Compatible()) {
systemProperty 'jdk.xml.entityExpansionLimit', '0'
}
}