Skip to content
This repository was archived by the owner on Oct 8, 2020. It is now read-only.

Commit 2e931f1

Browse files
Added SBT usage documentation
1 parent 086e6b0 commit 2e931f1

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,26 @@ For Apache Flink
9090
<version>0.1.0-SNAPSHOT</version>
9191
</dependency>
9292
```
93+
### Using SBT
94+
SANSA Inference API has not been published on Maven Central yet, thus, you have to add an additional repository as follows
95+
```scala
96+
resolvers ++= Seq(
97+
"AKSW Maven Releases" at "http://maven.aksw.org/archiva/repository/internal",
98+
"AKSW Maven Snapshots" at "http://maven.aksw.org/archiva/repository/snapshots"
99+
)
100+
```
101+
Then you have to add a dependency on either the Apache Spark or the Apache Flink module.
102+
103+
For Apache Spark add
104+
```scala
105+
"net.sansa-stack" % "sansa-inference-spark" % VERSION
106+
```
107+
108+
and for Apache Flink add
109+
```scala
110+
"net.sansa-stack" % "sansa-inference-flink" % VERSION
111+
```
112+
where, `VERSION` is the released version you want to use of the Finatra framework
93113

94114
## Usage
95115
```

0 commit comments

Comments
 (0)