Skip to content

Commit

Permalink
Publish to Central; this is v0.2.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuzdalov committed Nov 25, 2019
1 parent 53fbc53 commit ab3622c
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 8 deletions.
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
lazy val commonSettings = Seq(
organization := "ru.ifmo",
organization := "com.github.mbuzdalov",
libraryDependencies += junitInterface,
autoScalaLibrary := false,
crossPaths := false,
Expand All @@ -13,21 +13,21 @@ lazy val root = project
.in(file("."))
.settings(commonSettings :_*)
.settings(name := "non-dominated-sorting",
version := "0.0.0")
version := "0.2.1")
.dependsOn(implementations, benchmarking)
.aggregate(implementations, benchmarking)

lazy val implementations = project
.in(file("implementations"))
.settings(commonSettings :_*)
.settings(name := "non-dominated-sorting-implementations",
version := "0.0.0")
version := "0.2.1")

lazy val benchmarking = project
.in(file("benchmarking"))
.settings(commonSettings :_*)
.settings(name := "non-dominated-sorting-benchmarking",
version := "0.0.0",
version := "0.2.1",
libraryDependencies += osHardwareInformation)
.dependsOn(implementations)
.enablePlugins(JmhPlugin)
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ public abstract class RankQueryStructureDouble {

/**
* Creates a {@link RangeHandle} that uses the storage of the data structure and performs the actual operations.
* @param from the minimum inclusive index of the storage the handle is allowed to use
* @param until the maximum exclusive index of the storage the handle is allowed to use
* @param storageStart the minimum inclusive index in the storage the handle is allowed to use
* @param from the minimum inclusive point index this handle shall work with.
* @param until the maximum exclusive point index this handle shall work with.
* @param indices the array of actual point indices to be used by the handle.
* @param keys the array of the keys (the ordinate values) to be used by the handle.
* @return the range handle.
*/
public abstract RangeHandle createHandle(int storageStart, int from, int until, int[] indices, double[] keys);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ public abstract class RankQueryStructureInt {

/**
* Creates a {@link RangeHandle} that uses the storage of the data structure and performs the actual operations.
* @param from the minimum inclusive index of the storage the handle is allowed to use
* @param until the maximum exclusive index of the storage the handle is allowed to use
* @param storageStart the minimum inclusive index in the storage the handle is allowed to use
* @param from the minimum inclusive point index this handle shall work with.
* @param until the maximum exclusive point index this handle shall work with.
* @param indices the array of actual point indices to be used by the handle.
* @param keys the array of the keys (the ordinate values) to be used by the handle.
* @return the range handle.
*/
public abstract RangeHandle createHandle(int storageStart, int from, int until, int[] indices, int[] keys);
Expand Down
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.3.7")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.10")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.0")
31 changes: 31 additions & 0 deletions publish.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
ThisBuild / organization := "com.github.mbuzdalov"
ThisBuild / organizationName := "Maxim Buzdalov"
ThisBuild / organizationHomepage := Some(url("https://ctlab.itmo.ru/~mbuzdalov/"))

ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/mbuzdalov/non-dominated-sorting"),
"scm:[email protected]:mbuzdalov/non-dominated-sorting.git"
)
)
ThisBuild / developers := List(
Developer(
id = "mbuzdalov",
name = "Maxim Buzdalov",
email = "[email protected]",
url = url("https://ctlab.itmo.ru/~mbuzdalov")
)
)

ThisBuild / description := "This repository contains implementations of algorithms for non-dominated sorting and a benchmarking suite."
ThisBuild / licenses := List("MIT" -> new URL("https://opensource.org/licenses/MIT"))
ThisBuild / homepage := Some(url("https://github.com/mbuzdalov/non-dominated-sorting"))

// Remove all additional repository other than Maven Central from POM
ThisBuild / pomIncludeRepository := { _ => false }
ThisBuild / 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")
}
ThisBuild / publishMavenStyle := true

0 comments on commit ab3622c

Please sign in to comment.