-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
57 lines (46 loc) · 1.35 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
buildscript {
repositories {
// mavenLocal()
mavenCentral()
// jcenter()
// maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
gradlePluginPortal()
}
dependencies {
classpath 'org.anarres.gradle:gradle-stdproject-plugin:1.0.10'
}
}
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'
// For debugging only.
// compile "org.slf4j:slf4j-api:1.7.12"
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'
}
}