-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
37 lines (32 loc) · 1.17 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
val majorChiselVersion = "6"
val minorChiselVersion = "2"
val chiselVersion = majorChiselVersion + "." + minorChiselVersion + ".0"
scalaVersion := "2.13.12"
version := majorChiselVersion + "." + minorChiselVersion + ".3"
organization := "org.armadeus"
credentials += Credentials(
"GitHub Package Registry",
"maven.pkg.github.com",
"_",
System.getenv("GITHUB_TOKEN")
)
resolvers ++= Seq("GitHub WbPlumbing Martoni Apache Maven Packages" at "https://maven.pkg.github.com/Martoni/WbPlumbing")
lazy val root = (project in file("."))
.settings(
name := "wbGpio",
libraryDependencies ++= Seq(
"org.chipsalliance" %% "chisel" % chiselVersion,
"org.scalatest" %% "scalatest" % "3.2.16" % "test",
"org.armadeus" %% "wbplumbing" % "6.2.9"
),
scalacOptions ++= Seq(
"-language:reflectiveCalls",
"-deprecation",
"-feature",
"-Xcheckinit",
"-Ymacro-annotations",
),
addCompilerPlugin("org.chipsalliance" % "chisel-plugin" % chiselVersion cross CrossVersion.full),
)
publishTo := Some("GitHub wbGPIO Martoni Apache Maven Packages" at "https://maven.pkg.github.com/Martoni/wbGPIO")
publishMavenStyle := true