Skip to content

Commit f854438

Browse files
committed
Bump the version to 0.12, stop release cross building for prior to 1.6 (still in the build file), add 2.4.2/2.43, mention kafka support only built for 2.11
1 parent 936c34b commit f854438

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ This is not my beautiful code.
1212

1313
## How?
1414

15-
So you include com.holdenkarau.spark-testing-base [spark_version]_0.10.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:
15+
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:
1616

1717
```scala
18-
"com.holdenkarau" %% "spark-testing-base" % "2.3.1_0.11.0" % "test"
18+
"com.holdenkarau" %% "spark-testing-base" % "2.3.1_0.12.0" % "test"
1919
```
2020

2121
or
@@ -32,7 +32,7 @@ or
3232
If you'd like to use Kafka related features you need to include this artefact to your dependencies as well:
3333

3434
```scala
35-
"com.holdenkarau" %% "spark-testing-kafka-0_8" % "2.3.1_0.11.0" % "test"
35+
"com.holdenkarau" %% "spark-testing-kafka-0_8" % "2.3.1_0.12.0" % "test"
3636
```
3737

3838
or
@@ -41,11 +41,13 @@ or
4141
<dependency>
4242
<groupId>com.holdenkarau</groupId>
4343
<artifactId>spark-testing-kafka-0_8_2.11</artifactId>
44-
<version>${spark.version}_0.11.0</version>
44+
<version>${spark.version}_0.12.0</version>
4545
<scope>test</scope>
4646
</dependency>
4747
```
4848

49+
Currently the Kafka dependency is *only* built for Scala 2.11.
50+
4951
How to use it inside your code? have a look at the [wiki](https://github.com/holdenk/spark-testing-base/wiki) page.
5052

5153
The [Maven repositories page for spark-testing-base](https://mvnrepository.com/artifact/com.holdenkarau) lists the releases available.

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ val commonSettings = Seq(
6868
organization := "com.holdenkarau",
6969
publishMavenStyle := true,
7070
sparkVersion := "2.4.0",
71-
sparkTestingVersion := "0.11.0",
71+
sparkTestingVersion := "0.12.0",
7272
version := sparkVersion.value + "_" + sparkTestingVersion.value,
7373
scalaVersion := {
7474
if (sparkVersion.value >= "2.0.0") {

mini-cross-build.pl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
use File::Slurp;
33
use strict;
44
use warnings;
5-
my @spark_versions = ("1.4.0", "1.4.1", "1.5.0", "1.5.1", "1.5.2", "1.6.0", "1.6.1", "1.6.2", "1.6.3", "2.0.0", "2.0.1", "2.0.2", "2.1.0", "2.1.1", "2.1.2", "2.1.3", "2.2.0", "2.2.1", "2.2.2", "2.2.3", "2.3.0", "2.3.1", "2.3.2", "2.3.3", "2.4.0", "2.4.1");
5+
my @spark_versions = (
6+
"1.6.0", "1.6.1", "1.6.2", "1.6.3",
7+
"2.0.0", "2.0.1", "2.0.2", "2.1.0",
8+
"2.1.1", "2.1.2", "2.1.3",
9+
"2.2.0", "2.2.1", "2.2.2", "2.2.3",
10+
"2.3.0", "2.3.1", "2.3.2", "2.3.3",
11+
"2.4.0", "2.4.1", "2.4.2", "2.4.3");
612
# Backup the build file
713
`cp build.sbt build.sbt_back`;
814
# Get the original version

0 commit comments

Comments
 (0)