Skip to content

Commit

Permalink
Update Readme to document JCenter details (#2) [ci skip-compare-publi…
Browse files Browse the repository at this point in the history
…cations]

* Update Readme to document JCenter details
* Capitalize some headings
  • Loading branch information
sriramvasudevan authored Sep 10, 2020
1 parent 4e6a37c commit 910abf1
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,45 @@ Tests typically run with the `test` task. If you want to force-run all tests, yo
```


### Add a LiFT dependency to your project
### Add a LiFT Dependency to Your Project

Please check [Bintray](https://bintray.com/beta/#/linkedin/maven/LiFT) for the latest artifact versions.

#### Gradle Example

The artifacts are available in JCenter, so you can specify the JCenter repository in the top-level build.gradle file.

```
repositories {
jcenter()
}
```

Add the LiFT dependency to the module-level `build.gradle` file. Here are some examples for multiple recent Spark/Scala version combinations:

```
dependencies {
compile 'com.linkedin.lift:lift_2.3.0_2.11:0.1.4'
}
```
```
dependencies {
compile 'com.linkedin.lift:lift_2.4.3_2.11:0.1.4'
}
```
```
dependencies {
compile 'com.linkedin.lift:lift_2.4.3_2.12:0.1.4'
}
```

#### Using the JAR File

Depending on the mode of usage, the built JAR can be deployed as part of an offline data pipeline, depended
upon to build jobs using its APIs, or added to the classpath of a Spark Jupyter notebook or a Spark Shell instance. For
example:
```bash
$SPARK_HOME/bin/spark-shell --jars target/lift_2.3.0_2.11_0.1.3.jar
$SPARK_HOME/bin/spark-shell --jars target/lift_2.3.0_2.11_0.1.4.jar
```


Expand Down

0 comments on commit 910abf1

Please sign in to comment.