-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
58 lines (48 loc) · 2 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
name := "prism"
version := "0.8.5"
scalaVersion := "2.12.6"
organization := "org.encry"
assemblyJarName in assembly := "prismс.jar"
mainClass in assembly := Some("org.encryfoundation.prismlang.Main")
assemblyMergeStrategy in assembly := {
case "logback.xml" => MergeStrategy.first
case "module-info.class" => MergeStrategy.discard
case "META-INF/MANIFEST.MF" => MergeStrategy.discard
case "META-INF/BC1024KE.SF" => MergeStrategy.discard
case "META-INF/BC2048KE.SF" => MergeStrategy.discard
case PathList("reference.conf") => MergeStrategy.concat
case _ => MergeStrategy.first
}
libraryDependencies ++= Seq(
"com.lihaoyi" %% "fastparse" % "2.1.3",
"com.google.guava" % "guava" % "21.0",
"org.typelevel" %% "cats-core" % "2.0.0",
"org.scorexfoundation" %% "scrypto" % "2.1.2",
"org.scodec" %% "scodec-core" % "1.10.3",
"org.scalatest" %% "scalatest" % "3.0.3" % Test
)
resolvers ++= Seq("Sonatype Releases" at "https://oss.sonatype.org/content/repositories/releases/",
"SonaType" at "https://oss.sonatype.org/content/groups/public",
"Typesafe maven releases" at "http://repo.typesafe.com/typesafe/maven-releases/",
"Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/")
licenses in ThisBuild := Seq("GNU GPL 3.0" -> url("https://github.com/EncryFoundation/PrismLang/blob/master/LICENSE"))
homepage in ThisBuild := Some(url("https://github.com/EncryFoundation/PrismLang"))
publishMavenStyle in ThisBuild := true
publishArtifact in Test := false
publishTo in ThisBuild :=
Some(if (isSnapshot.value) Opts.resolver.sonatypeSnapshots else Opts.resolver.sonatypeStaging)
pomExtra in ThisBuild :=
<scm>
<url>[email protected]:EncryFoundation/PrismLang.git</url>
<connection>scm:git:[email protected]:EncryFoundation/PrismLang.git</connection>
</scm>
<developers>
<developer>
<id>Oskin1</id>
<name>Ilya Oskin</name>
</developer>
<developer>
<id>ugulavaGeorge</id>
<name>Ugulava George</name>
</developer>
</developers>