-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
80 lines (66 loc) · 1.91 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
group = 'makina'
project.buildDir = 'build'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.7.7'
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'scala'
apply plugin: 'com.google.protobuf'
sourceCompatibility = 1.8
targetCompatibility = 1.8
version = '0.1'
repositories {
mavenCentral()
}
dependencies {
compile 'org.scala-lang:scala-library:2.11.8'
compile 'org.slf4j:slf4j-api:1.7.21'
compile 'org.apache.logging.log4j:log4j-api:2.5'
compile 'org.apache.logging.log4j:log4j-core:2.5'
compile 'org.apache.logging.log4j:log4j-slf4j-impl:2.5'
compile 'com.typesafe.scala-logging:scala-logging_2.11:3.1.0'
compile 'com.google.protobuf:protobuf-java:3.0.0-beta-3'
compile 'commons-cli:commons-cli:1.3.1'
compile 'mysql:mysql-connector-java:5.1.34'
compile 'com.lmax:disruptor:3.3.0'
testCompile 'junit:junit:4.11'
}
compileJava {
options.compilerArgs << '-XDignore.symbol.file'
options.fork = true
options.forkOptions.executable = 'javac'
}
protobuf {
protoc {
artifact = 'com.google.protobuf:protoc:3.0.0-beta-3'
}
generatedFilesBaseDir = "$projectDir/src"
}
test {
ignoreFailures = true
}
apply plugin: 'jacoco'
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
check.dependsOn jacocoTestReport
apply plugin: 'application'
run {
applicationDefaultJvmArgs = ['-Xmx6G']
mainClassName = System.getProperty('class')
if (mainClassName == null)
mainClassName = ""
def arguments = System.getProperty('args')
if (arguments != null)
args Eval.me(arguments)
}
}