-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
210 lines (150 loc) · 7.53 KB
/
build.gradle
File metadata and controls
210 lines (150 loc) · 7.53 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
apply plugin: 'java'
// sourceCompatibility = 1.6
version = '1.0'
repositories {
mavenCentral()
maven {
url "https://repo1.maven.org/maven2/"
}
maven {
url "http://maven2.javacv.googlecode.com/git/"
}
}
configurations.all {
// check for updates every build
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
dependencies {
/**
******************************************************************************
* 1. In use Libraries
******************************************************************************
*/
testCompile group: 'junit', name: 'junit', version: '4.12'
// Google Guava - All Common Rich set of Libraries
// compile group: 'com.google.guava', name: 'guava', version: '19.0'
compile group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
// Google Guice - Dependency Injection
compile group: 'com.google.inject', name: 'guice', version: '5.0.1'
// GSON: Java to Json conversion
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.7'
// MongoDB Java Driver
compile group: 'org.mongodb', name: 'mongo-java-driver', version: '3.2.1'
// Google Mockito Object Mock Framework
compile group: 'org.mockito', name: 'mockito-all', version: '1.10.19'
// TestNG Test Framework
compile group: 'org.testng', name: 'testng', version: '6.9.10'
// Apache Log4j
compile group: 'log4j', name: 'log4j', version: '1.2.17'
// Apache Log4j API
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.5'
// RabbitMQ Client
compile group: 'com.rabbitmq', name: 'amqp-client', version: '3.6.0'
// Spark Java Web Application Framework (Tutorial: https://code.google.com/p/spark-java/)
compile group: 'com.sparkjava', name: 'spark-core', version: '1.1'
// FreeMarker Java based Template Engine
compile group: 'org.freemarker', name: 'freemarker', version: '2.3.23'
// JDOM for XML Parsing
compile group: 'org.jdom', name: 'jdom', version: '2.0.2'
// Apache HTTP Client
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.1'
// Simple Logging Facade for Java (SLF4J)
// compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.16'
compile group: 'org.checkerframework', name: 'checker', version: '2.1.8'
/**
******************************************************************************
* 2. Need these libraries for future learning reference
******************************************************************************
*/
// Zookeeper
compile group: 'org.apache.zookeeper', name: 'zookeeper', version: '3.4.7'
// Google ProtoBuf
compile group: 'com.google.protobuf', name: 'protobuf-java', version: '3.0.0-beta-2'
// AWS SDK For Java
compile group: 'com.amazonaws', name: 'aws-java-sdk', version: '1.10.52'
// JavaCV, OpenCV and FFMpeg
compile group: 'org.bytedeco', name: 'javacv-platform', version: '1.3.1'
compile group: 'org.bytedeco', name: 'javacv', version: '1.1'
compile group: 'org.bytedeco.javacpp-presets', name: 'opencv', version: '3.0.0-1.1'
compile group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: '2.8.1-1.1'
// Morphia - Java Object Document Mapper for MongoDB
compile group: 'org.mongodb.morphia', name: 'morphia', version: '1.1.1'
// A client library for memcached.
compile group: 'net.spy', name: 'spymemcached', version: '2.12.3'
// Data Mapper For Jackson
compile group: 'org.codehaus.jackson', name: 'jackson-mapper-asl', version: '1.9.13'
// MongoDB Jackson Mapper
compile group: 'net.vz.mongodb.jackson' , name: 'mongo-jackson-mapper', version: '1.3'
// DataStax Java Driver For Apache Cassandra Core
compile group: 'com.datastax.cassandra', name: 'cassandra-driver-core', version: '3.0.0'
// W3C DOM - for XML parsing
compile group: 'org.w3c', name: 'dom', version: '2.3.0-jaxb-1.0.6'
// Core.typed - An optional type system for Clojure
compile group: 'org.clojure', name: 'core.typed', version: '0.3.22'
/**
******************************************************************************
* 2.1. Apache Libraries
******************************************************************************
*/
// Apache Hadoop Core
compile group: 'org.apache.hadoop', name: 'hadoop-core', version: '1.2.1'
// Apache Hadoop Common
compile group: 'org.apache.hadoop', name: 'hadoop-common', version: '2.7.2'
// Apache Commons Lang
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
// compile group: 'commons-io', name: 'commons-io', version: '2.10.0'
// compile group: 'commons-configuration', name: 'commons-configuration', version: '1.10'
// compile group: 'commons-logging', name: 'commons-logging', version: '1.2'
// compile group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.2'
// compile group: 'org.ow2.asm', name: 'asm', version: '9.1'
// compile group: 'cglib', name: 'cglib-nodep', version: '3.3.0'
// compile group: 'com.thoughtworks.proxytoys', name: 'proxytoys', version: '1.0'
// Apache Curator Framework
compile group: 'org.apache.curator', name: 'curator-framework', version: '3.0.0'
// Apache Curator Recipes
compile group: 'org.apache.curator', name: 'curator-recipes', version: '3.0.0'
// Apache Cassandra
// compile group: 'org.apache.cassandra', name: 'cassandra-all', version: '3.2.1'
// Apache XML Beans
compile group: 'org.apache.xmlbeans', name: 'xmlbeans', version: '2.6.0'
// Apache Tika (http://projects.apache.org/indexes/language.html#Java)
compile group: 'org.apache.tika', name: 'tika-core', version: '1.11'
compile group: 'org.apache.tika', name: 'tika-parsers', version: '1.11'
// WebDAV API ()
compile group: 'org.apache.jackrabbit', name: 'jackrabbit-webdav', version: '2.5.2'
/**
******************************************************************************
* 2.2. Netflix Libraries
******************************************************************************
*/
// Netflix EVCache
compile group: 'com.netflix.evcache', name: 'evcache-client', version: '4.3.0'
// Netflix Governator
compile group: 'com.netflix.governator', name: 'governator', version: '1.12.7'
// Netflix Astyanax
compile group: 'com.netflix.astyanax', name: 'astyanax', version: '3.9.0'
compile group: 'com.netflix.astyanax', name: 'astyanax-cassandra', version: '3.9.0'
// Netflix Exhibitor
compile group: 'com.netflix.exhibitor', name: 'exhibitor-core', version: '1.5.6'
// Netflix Priam (https://github.com/Netflix/Priam)
compile group: 'com.netflix.priam', name: 'priam', version: '3.0.4'
// Netflix Utils
compile group: 'com.netflix.netflix-commons', name: 'netflix-commons-util', version: '0.3.0'
// Netflix jersey Guice
compile group: 'com.netflix.netflix-commons', name: 'netflix-jersey-guice', version: '0.3.0'
// Netflix Zeno - https://github.com/Netflix/zeno
compile group: 'com.netflix.zeno', name: 'netflix-zeno', version: '2.6'
// Netflix Hystrix - https://github.com/Netflix/Hystrix
compile group: 'com.netflix.hystrix', name: 'hystrix-core', version: '1.4.23'
}
tasks.withType(Test) {
scanForTestClasses = false
include "**/*Test.class" // whatever Ant pattern matches your test class files
}
apply plugin: 'application'
mainClassName = 'com.datamanager.FileOrganizer'
run {
if (project.hasProperty("appArgs")) {
args Eval.me(appArgs)
}
}