From fa15df5cf4b2ad60292b1d82ac411a4f88b03b5c Mon Sep 17 00:00:00 2001 From: Eugene Cheipesh Date: Wed, 29 Mar 2023 13:38:48 -0400 Subject: [PATCH] remove version.sbt, use git to version --- build.sbt | 13 +++++++------ project/RFProjectPlugin.scala | 1 - version.sbt | 1 - 3 files changed, 7 insertions(+), 8 deletions(-) delete mode 100644 version.sbt diff --git a/build.sbt b/build.sbt index 37aab3cc9..2978eacd9 100644 --- a/build.sbt +++ b/build.sbt @@ -22,22 +22,23 @@ // Leave me and my custom keys alone! Global / lintUnusedKeysOnLoad := false ThisBuild / versionScheme := Some("semver-spec") +ThisBuild / dynverVTagPrefix := false +ThisBuild / dynverSonatypeSnapshots := true +ThisBuild / publishMavenStyle := true +ThisBuild / Test / publishArtifact := false addCommandAlias("makeSite", "docs/makeSite") addCommandAlias("previewSite", "docs/previewSite") addCommandAlias("ghpagesPushSite", "docs/ghpagesPushSite") addCommandAlias("console", "datasource/console") -ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org" -ThisBuild / sonatypeRepository := "https://s01.oss.sonatype.org/service/local" - // Prefer our own IntegrationTest config definition, which inherits from Test. lazy val IntegrationTest = config("it") extend Test lazy val root = project - .in(file(".")) .withId("RasterFrames") - .aggregate(core, datasource, pyrasterframes) + .aggregate(core, datasource) + .settings(publish / skip := true) lazy val `rf-notebook` = project .dependsOn(pyrasterframes) @@ -203,4 +204,4 @@ lazy val docs = project lazy val bench = project .disablePlugins(CiReleasePlugin) .dependsOn(core % "compile->test") - .settings(publish / skip := true) \ No newline at end of file + .settings(publish / skip := true) diff --git a/project/RFProjectPlugin.scala b/project/RFProjectPlugin.scala index 91c7ecf91..748405b77 100644 --- a/project/RFProjectPlugin.scala +++ b/project/RFProjectPlugin.scala @@ -2,7 +2,6 @@ import com.github.sbt.git.{GitPlugin, SbtGit} import com.github.sbt.git.SbtGit.git import sbt.Keys._ import sbt._ -import xerial.sbt.Sonatype.autoImport._ /** * @since 8/20/17 diff --git a/version.sbt b/version.sbt deleted file mode 100644 index e1b9bbdca..000000000 --- a/version.sbt +++ /dev/null @@ -1 +0,0 @@ -ThisBuild / version := "0.10.2-SNAPSHOT"