-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (41 loc) · 1.07 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
apply plugin: 'java'
apply plugin: 'groovy'
sourceCompatibility = 1.7
targetCompatibility = 1.7
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile 'org.apache.hadoop:hadoop-common:2.5.0'
compile 'com.twitter:parquet-avro:1.6.0'
compile 'org.apache.avro:trevni-avro:1.7.7'
compile 'com.google.guava:guava:11.0.2'
compile 'org.apache.avro:avro:1.7.7'
compile 'org.slf4j:slf4j-api:1.7.12'
testCompile 'junit:junit:4.12'
testCompile 'org.spockframework:spock-core:1.0-groovy-2.4'
}
buildscript {
repositories {
mavenCentral()
maven { url "http://clojars.org/repo" }
}
dependencies {
classpath 'org.apache.maven:maven-artifact:2.2.1'
classpath 'org.apache.avro:avro-compiler:1.7.6'
classpath 'org.clojars.miguno:avro-gradle-plugin:1.7.6'
}
}
apply plugin: 'avro-gradle-plugin'
compileAvro {
source = 'src/main/resources/schema'
destinationDir = file("src/main/java")
}
sourceSets {
main {
java {
srcDir compileAvro.destinationDir
}
}
}