-
Notifications
You must be signed in to change notification settings - Fork 27
/
build.gradle
64 lines (51 loc) · 1.5 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
// Establish version and status
ext.githubProjectName = rootProject.name // Change if github project name is not the same as the root project's name
buildscript {
repositories {
mavenLocal()
mavenCentral() // maven { url 'http://jcenter.bintray.com' }
}
apply from: file('gradle/buildscript.gradle'), to: buildscript
}
allprojects {
apply plugin: 'idea'
apply plugin: 'eclipse'
// apply plugin: 'java'
repositories {
mavenLocal()
mavenCentral() // maven { url: 'http://jcenter.bintray.com' }
}
}
apply from: file('gradle/convention.gradle')
apply from: file('gradle/maven.gradle')
// apply from: file('gradle/check.gradle')
// apply from: file('gradle/license.gradle')
apply from: file('gradle/release.gradle')
subprojects {
apply plugin: 'idea'
apply plugin: 'eclipse'
group = "info.minzhou.${githubProjectName}" // TEMPLATE: Set to organization of project
}
project(':lightningrpc-common') {
dependencies {
compile 'com.google.protobuf:protobuf-java:2.6.1'
compile 'com.esotericsoftware:kryo:3.0.2'
compile ( 'commons-logging:commons-logging:1.2' ) {
exclude group: 'javax.servlet'
exclude group: 'avalon-framework'
}
testCompile 'junit:junit:4.12'
}
}
project(':lightningrpc-netty') {
dependencies {
compile project(':lightningrpc-common')
compile 'io.netty:netty-all:4.0.29.Final'
}
}
project(':lightningrpc-benchmark') {
dependencies {
compile project(':lightningrpc-netty')
compile 'com.typesafe:config:1.3.0'
}
}