Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publishing #13

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,23 @@ ThisBuild / semanticdbEnabled := true
ThisBuild / semanticdbVersion := scalafixSemanticdb.revision
ThisBuild / scalafixScalaBinaryVersion := scalaBinaryVersion.value

ThisBuild / developers := List(
Developer(
id = "ccromjongh",
name = "Casper Cromjongh",
email = "C.Cromjongh@tudelft.nl",
url = url("https://github.com/abs-tudelft/")
)
)

ThisBuild / publishMavenStyle := true
ThisBuild / pomIncludeRepository := { _ => false }
ThisBuild / versionScheme := Some("early-semver")
ThisBuild / resolvers += Resolver.mavenLocal
ThisBuild / githubOwner := "abs-tudelft"
ThisBuild / githubRepository := "Tydi-Chisel"
ThisBuild / publishTo := githubPublishTo.value

lazy val commonSettings = Seq(
homepage := Some(url("https://github.com/abs-tudelft/tydi-chisel")),
organizationHomepage := Some(url("https://github.com/abs-tudelft/")),
Expand Down Expand Up @@ -41,10 +58,7 @@ lazy val testingTools: Project = (project in file("testing"))
// Aggregate projects to build them together
lazy val root = (project in file("."))
.aggregate(library, testingTools)
.settings(
publish := {}, // Disable publishing for the root project
publishLocal := {}
)
.settings(publish / skip := true)

val CICommands =
Seq("clean", "compile", "test", "scalafmtCheckAll", "scalafmtSbtCheck", "scalafixAll --check").mkString(";")
Expand Down
6 changes: 4 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
logLevel := Level.Warn

// Code quality
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.1")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.1")
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.1")
addSbtPlugin("com.codecommit" % "sbt-github-packages" % "0.5.3")
Loading