-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
111 lines (100 loc) · 4.35 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
plugins {
id 'java'
id 'groovy'
id 'scala'
id "com.github.maiflai.scalatest" version "0.15"
id 'idea'
id 'net.ltgt.apt' version "0.9"
}
apply from: rootProject.file('gradle/install-git-hooks.gradle')
group 'recipe-semantic-store'
version '0.1'
description = """Recipe Semantic Store"""
sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceSets {
main {
scala {
srcDirs = ['src/main/scala', 'src/main/java']
}
}
}
//test {
// // set heap size for the test JVM(s)
// minHeapSize = "512m"
// maxHeapSize = "1g"
// maxParallelForks = 4
//}
test {
minHeapSize = "512m"
maxHeapSize = "1g"
tags {
exclude 'integrationTest'
}
}
repositories {
maven { url "http://repo.maven.apache.org/maven2" }
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://maven.twttr.com" }
maven { url 'https://jitpack.io' }
maven { url 'http://dl.bintray.com/spark-packages/maven' }
flatDir {
dirs "./libs"
}
}
dependencies {
compile name: 'auto-phrase-tokenfilter-1.0'
compile name: 'jwi'
//Spark Dependencies
compile 'org.apache.spark:spark-sql_2.11:2.0.0'
compile 'graphframes:graphframes:0.3.0-spark2.0-s_2.11'
compile 'org.apache.spark:spark-graphx_2.11:2.0.0'
compile 'org.apache.spark:spark-core_2.11:2.0.0'
//Scala dependencies
compile group: 'org.scala-lang', name: 'scala-library', version: '2.11.4'
compile 'net.codingwell:scala-guice_2.11:4.1.0'
compile group: 'org.scalactic', name: 'scalactic_2.11', version: '3.0.0'
compile('edu.stanford.nlp:stanford-corenlp:3.6.0') { exclude group: 'xml-apis', module: 'xml-apis' }
compile(group: 'edu.stanford.nlp', name: 'stanford-corenlp', version: '3.6.0', classifier: 'models') {
exclude group: 'xml-apis', module: 'xml-apis'
}
//Triplestore dependencies
compile 'org.apache.jena:apache-jena-libs:3.1.0'
//Graphdatabase dependencies
compile group: 'com.datastax.cassandra', name: 'dse-driver', version: '1.1.2'
compile(group: 'org.apache.tinkerpop', name: 'tinkergraph-gremlin', version: '3.2.3')
compile(group: 'org.apache.tinkerpop', name: 'gremlin-groovy', version: '3.2.3')
// Misc
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.1.9'
compile group: 'ch.qos.logback', name: 'logback-core', version: '1.1.9'
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.2'
compile group: 'org.jooq', name: 'jool', version: '0.9.11'
compile group: 'joda-time', name: 'joda-time', version: '2.9.7'
compile group: 'org.joda', name: 'joda-convert', version: '1.8.1'
compile group: 'commons-io', name: 'commons-io', version: '2.4'
compile 'com.google.guava:guava:19.0'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.6.6'
compile group: 'com.google.inject', name: 'guice', version: '4.1.0'
compile group: 'com.fasterxml.jackson.module', name: 'jackson-module-scala_2.11', version: '2.6.6'
compile group: 'io.dropwizard.metrics', name: 'metrics-core', version: '3.1.0'
compile group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.11.8'
compile group: 'com.opencsv', name: 'opencsv', version: '3.8'
compile group: 'com.twitter', name: 'storehaus-cache_2.11', version: '0.11.1'
compile group: 'org.json', name: 'json', version: '20160212'
//DevTools
apt "org.projectlombok:lombok:1.16.10"
compile(group: 'org.projectlombok', name: 'lombok', version: '1.16.10')
//Lucene dependencies
compile group: 'org.apache.lucene', name: 'lucene-core', version: '6.2.1'
compile group: 'org.apache.lucene', name: 'lucene-misc', version: '6.2.1'
compile group: 'org.apache.lucene', name: 'lucene-queries', version: '6.2.1'
compile group: 'org.apache.lucene', name: 'lucene-queryparser', version: '6.2.1'
compile group: 'org.apache.lucene', name: 'lucene-analyzers-common', version: '6.2.1'
compile group: 'org.apache.lucene', name: 'lucene-highlighter', version: '6.2.1'
//test dependencies
testCompile group: 'org.scalatest', name: 'scalatest_2.11', version: '3.0.1'
testCompile group: 'org.mockito', name: 'mockito-core', version: '2.0.53-beta'
testCompile group: 'com.github.javafaker', name: 'javafaker', version: '0.12'
testRuntime 'org.pegdown:pegdown:1.6.0'
}
clean.dependsOn installGitHooks