Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • c075334
  • /
  • build.sbt
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge
swh:1:cnt:b5d9d5e6005e3f813b171f5504476ae4226eb46a
directory badge
swh:1:dir:c0753347ff355409aa79a088d14a081c317a66f6

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
build.sbt
name := "SAF"

version := "1.3.5"
scalaVersion := "2.12.15"

// javacOptions ++= Seq("-source", "1.8", "-target", "1.8", "-Xlint")
// scalacOptions := Seq("-target:jvm-1.8")

// initialize := {
//   val _ = initialize.value
//   val javaVersion = sys.props("java.specification.version")
//   if (javaVersion != "1.8")
//     sys.error(
//       "Java 1.8 is required for this project. Found " + javaVersion + " instead"
//     )
// }


libraryDependencies += "net.java.dev.jna" % "jna" % "5.13.0"
libraryDependencies += "org.ow2.sat4j" % "org.ow2.sat4j.core" % "2.3.6"
libraryDependencies += "org.scala-lang.modules" %% "scala-parser-combinators" % "2.0.0"
libraryDependencies += "org.colomoto" % "bioLQM" % "0.7.1"

val buildSettings: Seq[Setting[_]] = inThisBuild(
  Seq(
    organization := "fun.scop",
    version := "1.0",
    description := "SAF: SAT-based Attractor Finder"
  )
)

lazy val root = (project in file("."))
  .settings(
    assemblyJarName in assembly := "saf.jar",
    organization := "fun.scop",
    version := "1.0",
    description := "SAF: SAT-based Attractor Finder",
    name := "SAF2023",
    mainClass in assembly := Some("fun.scop.app.an.solver.Saf")
  )

assemblyMergeStrategy := {
  case PathList("META-INF", "MANIFEST.MF") => MergeStrategy.discard
  case _                                   => MergeStrategy.first
}

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API