forked from kordamp/json-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
48 lines (43 loc) · 1.23 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
apply plugin: 'groovy'
apply plugin: 'maven'
// apply plugin: 'code-quality'
sourceCompatibility = '1.3'
targetCompatibility = '1.1'
archivesBaseName = 'json-lib'
group = 'net.sf.json-lib'
version = '2.4.1'
configurations {
jdk15 { extendsFrom compile }
}
repositories {
mavenCentral()
}
dependencies {
groovy 'org.codehaus.groovy:groovy-all:1.8.10'
compile 'junit:junit:3.8.2',
'commons-beanutils:commons-beanutils:1.8.0',
'commons-collections:commons-collections:3.2.1',
'commons-lang:commons-lang:2.5',
compile('commons-logging:commons-logging:1.1.1') {
exclude(module: 'log4j')
exclude(module: 'logkit')
exclude(module: 'avalon-framework')
exclude(module: 'servlet-api')
}
// the following are optional
compile 'xom:xom:1.1',
'oro:oro:2.0.8',
'net.sf.ezmorph:ezmorph:1.0.6',
'org.codehaus.groovy:groovy-all:1.8.10'
runtime 'log4j:log4j:1.2.14'
testCompile 'xmlunit:xmlunit:1.0',
'commons-httpclient:commons-httpclient:3.1'
}
sourceSets {
jdk15 {
compileClasspath = sourceSets.main.classes + configurations.jdk15
java.srcDirs = ['src/main/jdk15']
groovy.srcDirs = []
classesDir = "$buildDir/classes/jdk15" as File
}
}