Skip to content

Commit

Permalink
changing sbt version and adapting build.sbt
Browse files Browse the repository at this point in the history
  • Loading branch information
gni committed Jul 24, 2019
1 parent 4e8e147 commit bd9f6d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 36 deletions.
43 changes: 8 additions & 35 deletions build.sbt
@@ -1,49 +1,22 @@

name := "Spark Stochastic Outlier Selection"
name := "Scala Stochastic Outlier Selection"

version := "0.1.0"

publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}

lazy val core = (project in file(".")).settings(
organization := "frl.driesprong"
//other properties here
)
//publishTo := {
// val nexus = "https://oss.sonatype.org/"
// if (isSnapshot.value)
// Some("snapshots" at nexus + "content/repositories/snapshots")
// else
// Some("releases" at nexus + "service/local/staging/deploy/maven2")
//}

publishMavenStyle := true

publishArtifact in Test := false

pomIncludeRepository := { _ => false }

pomExtra := (
<url>https://github.com/Fokko/spark-stochastic-outlier-selection</url>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
<connection>scm:git:git@github.com:Fokko/spark-stochastic-outlier-selection.git</connection>
<developerConnection>scm:git:git@github.com:Fokko/spark-stochastic-outlier-selection.git</developerConnection>
<url>git@github.com:Fokko/spark-stochastic-outlier-selection.git</url>
</scm>
<developers>
<developer>
<name>Fokko Driesprong</name>
<email>fokko@driesprong.frl</email>
<organization>Driesprong</organization>
<organizationUrl>http://driesprong.frl</organizationUrl>
</developer>
</developers>)

scalaVersion := "2.11.8"

libraryDependencies += "org.apache.spark" %% "spark-core" % "2.2.0"
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
@@ -1 +1 @@
sbt.version=0.13.6
sbt.version=0.13.13

0 comments on commit bd9f6d0

Please sign in to comment.