Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8fa2932

Browse files
author
James Lee
committed
add export Jar gradle task
1 parent1ce2741 commit8fa2932

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

‎build.gradle

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,20 @@ dependencies {
2222
compilegroup:'org.apache.spark',name:'spark-core_2.10',version:'2.0.0'
2323
compilegroup:'org.apache.spark',name:'spark-sql_2.10',version:'2.1.0'
2424
}
25+
26+
27+
jar {
28+
zip64true
29+
archiveName="StackOverFlowSurvey-spark.jar"
30+
from {
31+
configurations.compile.collect {
32+
it.isDirectory()? it: zipTree(it)
33+
}
34+
}
35+
manifest {
36+
attributes'Main-Class':'com.sparkTutorial.sparkSql.StackOverFlowSurvey'
37+
}
38+
39+
exclude'META-INF/*.RSA','META-INF/*.SF','META-INF/*.DSA'
40+
41+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp