-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
70 lines (58 loc) · 1.49 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
apply plugin: 'maven'
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath group: "com.cinnober.gradle", name: "semver-git", version: "2.2.3"
classpath group: 'com.google.protobuf', name: 'protobuf-java', version: '3.3.0'
classpath "gradle.plugin.com.github.maiflai:gradle-scalatest:0.16"
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.1'
}
}
allprojects {
group = 'org.cddb'
apply plugin: 'com.cinnober.gradle.semver-git'
}
subprojects {
apply plugin: 'maven'
apply plugin: 'java'
apply plugin: 'scala'
sourceCompatibility = '1.8'
ext {
protobuf_version = '3.3.0'
dropwizard_version = '1.1.2'
}
sourceSets {
main {
java {
srcDirs 'src/generated/main/grpc'
srcDirs 'src/generated/main/java'
}
scala {
srcDirs = ['src/main/scala']
}
}
test {
scala {
srcDirs = ['src/test/scala/']
}
}
}
repositories {
mavenLocal()
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
compile 'org.scala-lang:scala-library:2.11.2'
runtime 'org.pegdown:pegdown:1.4.2'
compile 'org.scalatest:scalatest_2.11:3.0.3'
}
}