-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
48 lines (39 loc) · 1.1 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
group 'ru.highloadcup'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'application'
sourceCompatibility = 1.8
mainClassName = "ru.highloadcup.App"
repositories {
jcenter()
mavenCentral()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
dependencies {
compile 'com.koloboke:koloboke-api-jdk8:1.0.0'
compile 'com.koloboke:koloboke-impl-jdk8:1.0.0'
// compile 'com.wizzardo:http:0.2-SNAPSHOT'
// compile 'com.wizzardo:datadog-jvm:0.4+'
compile('com.wizzardo:datadog-jvm:0.4+') {
exclude module: 'tools'
exclude group: 'com.indeed'
}
compile files('../http/build/libs/http-all-0.1-SNAPSHOT.jar')
testCompile group: 'junit', name: 'junit', version: '4.11'
}
task fatJar(type: Jar) {
manifest {
attributes(
"Main-Class": mainClassName
)
}
baseName = project.name + '-all'
from {
configurations.compile
.findAll { !String.valueOf(it).contains('koloboke') }
.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}