carlosedp / scalautils   0.10.2

MIT License GitHub

Scala/Chisel utility methods

Scala versions: 3.x 2.13 2.12 2.11

Scala Utils

A library adding some frequently used methods in Scala and Chisel development.

If you are looking for the RISCVAssembler library, it has been moved to own lib at https://github.com/carlosedp/riscvassembler.

For more information, check the scaladoc.

Scala version support Scaladoc Maven Central Sonatype Snapshots
Scala CI codecov Quality Gate Status Scala Steward badge Mergify Status

Adding to your project

SBT

When using SBT, add the following lines to your build.sbt file.

// Import libraries
libraryDependencies += "com.carlosedp" %% "scalautils" % "0.10.2"

If you plan to use the -SNAPSHOT versions, add the new Sonatype repository to your build.sbt resolvers:

resolvers ++= Seq(
  Resolver.sonatypeRepo("snapshots"),
  Resolver.sonatypeRepo("releases"),
  "Sonatype New OSS Snapshots" at "https://s01.oss.sonatype.org/content/repositories/snapshots"
)

// and change the dependency to latest SNAPSHOT as:
libraryDependencies += "com.carlosedp" %% "scalautils" % "0.11.0-SNAPSHOT"

Confirm the latest versions displayed on the badges at the top of this readme for both stable and snapshot (without the leading "v").

Mill

If you use mill build tool, I recommend adding the following way to your build.sc:

import coursier.MavenRepository

// Add to your ivyDeps
def ivyDeps = Agg(
  ivy"com.carlosedp::scalautils:0.10.2"
  ...
)

// And add the snapshot resolver if using it
def repositoriesTask = T.task { super.repositoriesTask() ++ Seq(
  MavenRepository("https://s01.oss.sonatype.org/content/repositories/snapshots")
) }

def ivyDeps = Agg(
  ivy"com.carlosedp::scalautils:0.11.0-SNAPSHOT"
  ...
)

The library has been published to Maven Central thru Sonatype: