Skip to content

Commit 04cec24

Browse files
authored
Update build.gradle
1 parent 3836b08 commit 04cec24

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,22 @@ repositories {
99
mavenCentral()
1010
}
1111

12+
idea {
13+
project {
14+
jdkName = '1.8'
15+
languageLevel = '1.8'
16+
}
17+
}
18+
1219
dependencies {
1320
compile group: 'org.apache.spark', name: 'spark-core_2.10', version: '2.1.0'
1421
compile group: 'org.apache.spark', name: 'spark-sql_2.10', version: '2.1.0'
1522
compile group: 'org.scala-lang', name: 'scala-library', version: '2.10.6'
1623
}
1724

25+
compileScala.targetCompatibility = "1.8"
26+
compileScala.sourceCompatibility = "1.8"
27+
1828

1929
jar {
2030
zip64 true

0 commit comments

Comments
 (0)