organization := "edu.berkeley.cs" version := "1.5-SNAPSHOT" name := "hardfloat" scalaVersion := "2.13.10" resolvers ++= Seq( Resolver.sonatypeRepo("snapshots"), Resolver.sonatypeRepo("releases") ) Compile / scalaSource := baseDirectory.value / "hardfloat/src/main/scala" Test / scalaSource := baseDirectory.value / "hardfloat/tests/src" Test / resourceDirectory := baseDirectory.value / "hardfloat/tests/resources" addCompilerPlugin("edu.berkeley.cs" % "chisel3-plugin" % "3.5.6" cross CrossVersion.full) libraryDependencies += "edu.berkeley.cs" %% "chisel3" % "3.5.6" libraryDependencies ++= Seq("org.scalatest" %% "scalatest" % "3.2.0" % "test") libraryDependencies += "org.scala-lang.modules" %% "scala-parallel-collections" % "1.0.4" Test / testForkedParallel := true publishMavenStyle := true publishArtifact in Test := false pomIncludeRepository := { x => false } // Don't add 'scm' elements if we have a git.remoteRepo definition, // but since we don't (with the removal of ghpages), add them in below. pomExtra := http://chisel.eecs.berkeley.edu/ BSD-style http://www.opensource.org/licenses/bsd-license.php repo https://github.com/ucb-bar/berkeley-hardfloat.git scm:git:github.com/ucb-bar/berkeley-hardfloat.git jhauser-ucberkeley John Hauser aswaterman Andrew Waterman yunsup Yunsup Lee publishTo := { val v = version.value val nexus = "https://oss.sonatype.org/" if (v.trim.endsWith("SNAPSHOT")) { Some("snapshots" at nexus + "content/repositories/snapshots") } else { Some("releases" at nexus + "service/local/staging/deploy/maven2") } }