Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into SNAP-2366
Browse files Browse the repository at this point in the history
  • Loading branch information
Sumedh Wale committed Nov 2, 2018
2 parents f2be757 + 0c7616b commit 872bd8b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
2 changes: 2 additions & 0 deletions examples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ task productExamples(dependsOn: 'jar') { doLast {
}
} }

archivesBaseName = 'snappydata-examples_' + scalaBinaryVersion

scalaTest {
dependsOn ':cleanScalaTest', ':product'
doFirst {
Expand Down
15 changes: 9 additions & 6 deletions jdbc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ task packageScalaDocs(type: Jar, dependsOn: scaladoc) {
classifier = 'javadoc'
from scaladoc
}
if (rootProject.hasProperty('enablePublish')) {
artifacts {
archives packageScalaDocs, packageSources, shadowJar
}
}

scalaTest {
dependsOn ':cleanScalaTest'
Expand All @@ -81,8 +76,10 @@ scalaTest {
test.dependsOn ':cleanJUnit'
check.dependsOn test, scalaTest, dunitTest

archivesBaseName = 'snappydata-jdbc_' + scalaBinaryVersion
jar.classifier = 'only'
// shadowJar will act like the real jar for inclusion by applications
shadowJar {
baseName = 'snappydata-jdbc_' + scalaBinaryVersion
classifier = null

// avoid conflict with the 0.9.2 version in stock Spark
Expand All @@ -107,6 +104,12 @@ shadowJar {
}
}

if (rootProject.hasProperty('enablePublish')) {
artifacts {
archives packageScalaDocs, packageSources, shadowJar
}
}

// write the POM for spark-package
String sparkPackageName = "snappydata-jdbc-${version}-s_${scalaBinaryVersion}"

Expand Down

0 comments on commit 872bd8b

Please sign in to comment.