Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

Commit

Permalink
#3 include spark module
Browse files Browse the repository at this point in the history
  • Loading branch information
hleb-albau committed Sep 25, 2017
1 parent bf7ac84 commit a83a94d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ buildscript {
// logs
slf4jVersion = "1.7.25"
lockbackVersion = "1.2.3"

sparkVersion="2.2.0"
}

repositories {
Expand Down Expand Up @@ -116,4 +118,22 @@ project(":search-api") {
}

mainClassName = "fund.cyber.search.SearchApiApplication"
}


project(":stream-processing") {

apply plugin: "com.github.johnrengelman.shadow"

dependencies {
// Dependencies which will be included in fatjar
compile("org.jetbrains.kotlin:kotlin-stdlib-jre8")

compileOnly("org.apache.spark:spark-sql_2.11:$sparkVersion")
compileOnly("org.apache.spark:spark-streaming_2.11:$sparkVersion")

compileOnly("org.apache.kafka:kafka_2.11:$kafkaVersion")
compileOnly("org.apache.spark:spark-streaming-kafka-0-10_2.11:$sparkVersion")
compileOnly("org.apache.spark:spark-sql-kafka-0-10_2.11:$sparkVersion")
}
}
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include "core"
include "search-api"
include "stream-processing"
include "connectors/ethereum"
include "connectors/bitcoin"

0 comments on commit a83a94d

Please sign in to comment.