christopherdavenport / sbt-no-publish   0.1.0

MIT License Website GitHub

Setting No Publication Settings

Scala versions: 2.12
sbt plugins: 1.0

sbt-no-publish - Setting No Publication Settings Build Status Maven Central Code of Consuct

Quick Start

To use sbt-no-publish in an existing SBT project with version 1.0 or greater, add the following dependencies to your plugins.sbt depending on your needs:

addSbtPlugin("io.chrisdavenport" % "sbt-no-publish" % "<version>")

Example of Use

lazy val root ="."))
  .enablePlugins(NoPublishPlugin) // We disable publishing of the root project
  .aggregate(core, site)

lazy val core ="core"))
  .settings(commonSettings, releaseSettings)
    name := "project-name"

lazy val site ="site"))
  .enablePlugins(NoPublishPlugin) // We disable publishing of the site