-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
61 lines (50 loc) · 1.79 KB
/
build.gradle
File metadata and controls
61 lines (50 loc) · 1.79 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
buildscript {
ext.kotlin_version = '1.1.1'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id "com.github.ben-manes.versions" version "0.14.0"
}
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'scala'
version = '0.0.1-SNAPSHOT'
def fileEncoding = 'UTF-8'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
jcenter()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.14'
compile "com.google.guava:guava:21.0"
compile "io.reactivex:rxjava:1.2.6"
compile "io.reactivex:rxjava-math:1.0.0"
compile "com.typesafe.akka:akka-stream_2.11:2.4.14"
compile 'io.reactivex.rxjava2:rxjava:2.0.6'
compile group: 'org.apache.camel', name: 'camel-quartz2', version: '2.18.1'
compile group: 'org.apache.camel', name: 'camel-spring', version: '2.18.1'
compile group: 'org.projectlombok', name: 'lombok', version: '1.16.12'
compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.23'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.23'
compile group: 'log4j', name: 'log4j', version: '1.2.17'
compile "com.storm-enroute:scalameter-core_2.11:0.7"
testCompile "junit:junit:4.12"
testCompile "com.jayway.awaitility:awaitility:1.7.0"
}
test {
systemProperty 'file.encoding', fileEncoding
}
tasks.withType(JavaCompile) {
options.encoding = fileEncoding
}
// http://forums.gradle.org/gradle/topics/set_maxparallelforks_to_number_of_cores_on_the_current_machine
tasks.withType(Test) {
maxParallelForks = Runtime.getRuntime().availableProcessors()
}