This repository has been archived by the owner on Mar 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
88 lines (72 loc) · 2.22 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
description = """
Leviathan (pronounced /lɨˈvaɪ.əθən/; Hebrew: לִוְיָתָן, Modern Livyatan Tiberian
Liwyāṯān ; "twisted, coiled"), is a sea monster referred to in the Tanakh and
the Bible.
It surfs the web, and retrieves data :)
"""
dependsOnChildren()
subprojects {
//========================//
// Maven Config //
//========================//
version = '0.9-SNAPSHOT'
groupId = 'com.zaubersoftware.leviathan'
//========================//
// Plugins //
//========================//
apply plugin: 'java'
apply plugin: 'eclipse'
//========================//
// Compiler //
//========================//
[compileJava, compileTestJava]*.options*.encoding = 'ISO-8859-1'
sourceCompatibility = 1.6
//========================//
// Dependency Management //
//========================//
junitVersion = '4.9'
mockitoVersion = '1.8.1'
commonsVersion = '3.49'
ehcacheVersion = '2.1.0'
commonsLangVersion = '2.5'
slf4jVersion = '1.6.1'
commonsIoVersion = '1.4'
httpClientVersion = '4.1'
springVersion = '3.0.6.RELEASE'
log4jVersion = '1.2.15'
configurations.all {
transitive = true
exclude group: 'commons-logging'
// exclusiones de log4j
exclude group: 'javax.mail', module: 'mail'
exclude group: 'javax.jms', module: 'jms'
exclude group: 'com.sun.jmx', module: 'jmxri'
exclude group: 'com.sun.jdmk', module: 'jmxtools'
resolutionStrategy {
failOnVersionConflict()
force "commons-lang:commons-lang:${commonsLangVersion}"
force "org.slf4j:slf4j-api:${slf4jVersion}"
force "log4j:log4j:${log4jVersion}"
}
}
dependencies {
testCompile "junit:junit:${junitVersion}"
testCompile "org.mockito:mockito-all:${mockitoVersion}"
testCompile "org.mockito:mockito-all:${mockitoVersion}"
testCompile "org.slf4j:slf4j-log4j12:${slf4jVersion}"
testCompile "log4j:log4j"
}
//========================//
// Repositories //
//========================//
repositories {
mavenCentral()
mavenLocal()
}
//========================//
// Tests //
//========================//
test {
exclude '**/*Driver*'
}
}