Skip to content

Commit

Permalink
Update the README to match the current release
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Mar 5, 2020
1 parent 7cc2061 commit 0c8215e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,37 @@ This is not my beautiful code.

## How?

So you include com.holdenkarau.spark-testing-base [spark_version]_0.12.0 and extend one of the classes and write some simple tests instead. For example to include this in a project using Spark 2.3.1:
So you include com.holdenkarau.spark-testing-base [spark_version]_0.14.0 and extend one of the classes and write some simple tests instead. For example to include this in a project using Spark 2.4.5:

```scala
"com.holdenkarau" %% "spark-testing-base" % "2.3.1_0.12.0" % "test"
"com.holdenkarau" %% "spark-testing-base" % "2.4.5_0.14.0" % "test"
```

or

```
<dependency>
<groupId>com.holdenkarau</groupId>
<artifactId>spark-testing-base_2.11</artifactId>
<version>${spark.version}_0.11.0</version>
<scope>test</scope>
<groupId>com.holdenkarau</groupId>
<artifactId>spark-testing-base_2.11</artifactId>
<version>${spark.version}_0.11.0</version>
<scope>test</scope>
</dependency>
```

If you'd like to use Kafka related features you need to include this artefact to your dependencies as well:

```scala
"com.holdenkarau" %% "spark-testing-kafka-0_8" % "2.3.1_0.12.0" % "test"
"com.holdenkarau" %% "spark-testing-kafka-0_8" % "2.4.5_0.14.0" % "test"
```

or

```
<dependency>
<groupId>com.holdenkarau</groupId>
<artifactId>spark-testing-kafka-0_8_2.11</artifactId>
<version>${spark.version}_0.12.0</version>
<scope>test</scope>
<groupId>com.holdenkarau</groupId>
<artifactId>spark-testing-kafka-0_8_2.11</artifactId>
<version>${spark.version}_0.14.0</version>
<scope>test</scope>
</dependency>
```

Expand Down

0 comments on commit 0c8215e

Please sign in to comment.