-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
65 lines (53 loc) · 2.18 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import sbt._
import xerial.sbt.Sonatype._
// SchemaGenVersion is defined in project/Version.conf
lazy val root = (project in file("."))
.settings(
name := "SpinalHDL Schema Gen",
description := "SpinalHDL Schemetic Generator",
organization := "com.github.spinalhdl",
version := SchemaGenVersion.schema,
crossScalaVersions := SchemaGenVersion.compilers,
scalaVersion := SchemaGenVersion.compilers(0),
versionScheme := Some("early-semver"),
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-library" % scalaVersion.value,
"com.github.spinalhdl" %% "spinalhdl-core" % SchemaGenVersion.spinal,
"com.github.spinalhdl" %% "spinalhdl-lib" % SchemaGenVersion.spinal,
"com.github.spinalhdl" %% "spinalhdl-tester" % SchemaGenVersion.spinal,
compilerPlugin("com.github.spinalhdl" %% "spinalhdl-idsl-plugin" % SchemaGenVersion.spinal),
"javax.xml.bind" % "jaxb-api" % "2.3.0",
"org.scala-lang.modules" %% "scala-xml" % SchemaGenVersion.scalaXmlVersion(scalaVersion.value),
"org.scala-lang.modules" %% "scala-parser-combinators" % SchemaGenVersion.scalaParserCombinatorVersion(scalaVersion.value)
),
// Publishing settings
publishMavenStyle := true,
sonatypeProjectHosting := Some(GitHubHosting("SpinalHDL", "SpinalSchemaGen", "[email protected]")),
publishTo := sonatypePublishToBundle.value,
sonatypeCredentialHost := sonatypeLegacy,
pomIncludeRepository := { _ => false },
licenses := Seq("LGPL3" -> url("https://www.gnu.org/licenses/lgpl.html")),
homepage := Some(url("https://github.com/SpinalHDL/SpinalSchemaGen")),
scmInfo := Some(
ScmInfo(
url("https://github.com/SpinalHDL/SpinalSchemaGen"),
"scm:[email protected]:SpinalHDL/SpinalSchemaGen.git"
)
),
developers := List(
Developer(
id = "Readon",
name = "Yindong Xiao",
email = "[email protected]",
url = url("https://github.com/Readon")
),
Developer(
id = "ZhaokunHu",
name = "Zhaokun Hu",
email = "[email protected]",
url = url("https://github.com/ZhaokunHu")
)
)
)
enablePlugins(JavaAppPackaging)
fork := true