Popularity
0.8
Stable
Activity
2.5
-
6
2
1

Description

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

Programming language: Scala
License: MIT License
Tags: Misc     Utilities     Scala     Generic    
Latest version: v1.0.0-RC02

Scala Utils alternatives and similar packages

Based on the "Misc" category.
Alternatively, view Scala Utils alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Scala Utils or a related project?

Add another 'Misc' Package

README

Scala Utils

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

Description

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

The main utilities available:

  • [Configuration framework](config-z/docs/configuration-framework.md)
  • Conversion to byte array in the [byteable](core/src/main/scala/org/tupol/utils/ByteableOps.scala) package.
  • Try, Future, Either, Product, Map and other utilities in the [utils](core/src/main/scala/org/tupol/utils/) package.

Attention! The [Configuration framework](config-z/docs/configuration-framework.md) might be deprecated, as the PureConfig framework is much more mature and provides a better overall solution.

Prerequisites

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

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" % "1.0.0-RC02"

or

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

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

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

Usage

Some config-z usage examples can be found under [config-z/src/test/scala/examples](config-z/src/test/scala/examples).

What's new?

1.0.0-RC Effort Started

This new major version aims to bring a new and hopefully cleaner project structure. The scalaz based configuration is moved to a different module to isolate better from the core. In the future a cats based version will be added as well.

More core utilities were added and the old ones were brushed up for better consistency and clarity.

Attention! This version is no longer cross compiling across Scala 2.11 and 2.12. Only Scala 2.12 is supported at the moment.

The previous versions are still available and can evolve independently on the 0.2.x branch.

For previous versions please consult the [release notes](RELEASE-NOTES.md).

License

This code is open source software licensed under the [MIT License](LICENSE).


*Note that all licence references and agreements mentioned in the Scala Utils README section above are relevant to that project's source code only.