Skip to content

tupol/scala-utils

Repository files navigation

Scala Utils

Maven Central   GitHub   Travis (.org)   Codecov   Javadocs   Discord   Twitter  

Description

This project contains some basic utilities that can help setting up a Scala project.

The main utilities available:

  • Conversion to byte array in the byteable package.
  • Try, Future, Either, Product, Map and other utilities in the utils package.

Prerequisites

  • Java 8 or higher (matching the Scala version)
  • Scala 2.12 or 2.13

Getting Scala Utils

Scala Utils is published to Sonatype OSS and Maven Central, where the latest artifacts can be found.

Usage with SBT, adding a dependency to the latest version of scala utils to your sbt build definition file:

  libraryDependencies += "org.tupol" %% "scala-utils-core" % "2.0.0"

or

  libraryDependencies += "org.tupol" %% "scala-utils-core" % "2.0.0"

For Snapshots, the Sonatype snapshots repo needs to be added as well:

  resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"

What's new?

2.0.0

  • Cross compilation on Scala 2.12 and Scala 2.13
  • Compiled with JDK 17 targeting Java 8
  • Removed the config-z module
  • Removed TraversableOps as it will be deprecated in future Scala versions

License

This code is open source software licensed under the MIT License.

About

Basic tools and utilities for Scala projects

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages