Skip to content

Commit 70ede0a

Browse files
committed
Remove Scala 2.10 Support (#1350)
1 parent ce7bbb8 commit 70ede0a

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

spark/sql-13/build.gradle

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ description = "Elasticsearch Spark (for Spark 1.3-1.6)"
33

44
evaluationDependsOn(':elasticsearch-hadoop-mr')
55

6-
apply plugin: 'es.hadoop.build'
76
apply plugin: 'scala'
7+
apply plugin: 'es.hadoop.build'
88
apply plugin: 'scala.variants'
99

1010
variants {
1111
defaultVersion '2.11.12'
12-
targetVersions '2.10.7', '2.11.12'
12+
targetVersions '2.11.12'
1313
}
1414

1515
configurations {
@@ -31,14 +31,14 @@ compileScala {
3131
jvmArgs = ['-XX:MaxPermSize=512m']
3232
}
3333
scalaCompileOptions.additionalParameters = [
34-
"-feature",
35-
"-unchecked",
36-
"-deprecation",
37-
"-Xfuture",
38-
"-Yno-adapted-args",
39-
"-Ywarn-dead-code",
40-
"-Ywarn-numeric-widen",
41-
"-Xfatal-warnings"
34+
"-feature",
35+
"-unchecked",
36+
"-deprecation",
37+
"-Xfuture",
38+
"-Yno-adapted-args",
39+
"-Ywarn-dead-code",
40+
"-Ywarn-numeric-widen",
41+
"-Xfatal-warnings"
4242
]
4343
}
4444

spark/sql-20/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ apply plugin: 'scala.variants'
99

1010
variants {
1111
defaultVersion '2.11.12'
12-
targetVersions '2.10.7', '2.11.12'
12+
targetVersions '2.11.12'
1313
}
1414

1515
configurations {

0 commit comments

Comments
 (0)