Skip to content

Commit

Permalink
Update for release 1.4.9 (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekrich authored Jan 25, 2022
1 parent 6629bbc commit 25a0e5f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ If you are looking for the original Java API, see


## Sonatype
[![Maven Central](https://img.shields.io/maven-central/v/org.ekrich/sconfig_2.11.svg)](https://maven-badges.herokuapp.com/maven-central/org.ekrich/sconfig_2.11)
[![Maven Central](https://img.shields.io/maven-central/v/org.ekrich/sconfig_2.13.svg)](https://maven-badges.herokuapp.com/maven-central/org.ekrich/sconfig_2.13)

```scala
libraryDependencies += "org.ekrich" %% "sconfig" % "x.y.z"
```

To use in `sbt`, replace `x.y.z` with the version from Maven Central badge above.

For non-JVM projects use `%%%` but please refer to the guide below for **critical** Scala Native and Scala.js usage information. The TLDR is that you must add a `java.time` library dependency to your project. Currently, the only library available is `sjavatime`. Refer to the [`sjavatime` home page](https:/ekrich/sjavatime) for the current version.
For non-JVM projects use `%%%` but please refer to the guide below for **critical** Scala Native and Scala.js usage information. The TLDR is that you must add a `java.time` library dependency to your project. Refer to the [`sjavatime` home page](https:/ekrich/sjavatime) for the current version or alternative `java.time` libraries.

[Scala Native and Scala.js](docs/SCALA-NATIVE.md) - A guide to using Scala Native and Scala.js.

Expand All @@ -48,7 +48,7 @@ All available versions can be seen at the [Maven Repository](https://mvnreposito
Note: Scala 3 support on Scala Native 0.4.3-RC2 or greater.

## Usage and Help
[![Scaladoc](https://www.javadoc.io/badge/org.ekrich/sconfig_2.11.svg?label=scaladoc)](https://www.javadoc.io/doc/org.ekrich/sconfig_2.11)
[![Scaladoc](https://www.javadoc.io/badge/org.ekrich/sconfig_2.13.svg?label=scaladoc)](https://www.javadoc.io/doc/org.ekrich/sconfig_2.13)
[![scaladoc](https://javadoc.io/badge/org.ekrich/sconfig_3.svg?label=scaladoc3)](https://javadoc.io/doc/org.ekrich/sconfig_3)
[![Discord](https://img.shields.io/discord/633356833498595365.svg?label=&logo=discord&logoColor=ffffff&color=404244&labelColor=6A7EC2)](https://discord.gg/XSj6hQs)

Expand Down Expand Up @@ -114,6 +114,7 @@ At a high level, the process is as follows:

## Versions

Release [1.4.9](https://github.com/ekrich/sconfig/releases/tag/v1.4.9) - (2022-01-25)<br/>
Release [1.4.8](https://github.com/ekrich/sconfig/releases/tag/v1.4.8) - (2022-01-12)<br/>
Release [1.4.7](https://github.com/ekrich/sconfig/releases/tag/v1.4.7) - (2022-01-03)<br/>
Release [1.4.6](https://github.com/ekrich/sconfig/releases/tag/v1.4.6) - (2021-12-06)<br/>
Expand Down
14 changes: 6 additions & 8 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,14 @@ val scala212 = "2.12.15"
val scala213 = "2.13.8"
val scala300 = "3.1.0"

val javaTime = "1.1.8"
val javaTime = "1.1.9"
val scCompat = "2.6.0"

val versionsBase = Seq(scala211, scala212, scala213)
val versionsJVM = versionsBase :+ scala300
val versionsJS = versionsJVM
val versionsNative = versionsJVM
val versions = versionsBase :+ scala300

ThisBuild / scalaVersion := scala212
ThisBuild / crossScalaVersions := versionsJVM
ThisBuild / crossScalaVersions := versions
ThisBuild / versionScheme := Some("early-semver")
ThisBuild / mimaFailOnNoPrevious := false
ThisBuild / resolvers += Resolver.sonatypeRepo("snapshots")
Expand Down Expand Up @@ -132,7 +130,7 @@ lazy val sconfig = crossProject(JVMPlatform, NativePlatform, JSPlatform)
}
)
.jvmSettings(
crossScalaVersions := versionsJVM,
crossScalaVersions := versions,
sharedJvmNativeSource,
libraryDependencies ++= Seq(
("io.crashbox" %% "spray-json" % "1.3.5-7" % Test)
Expand Down Expand Up @@ -167,7 +165,7 @@ lazy val sconfig = crossProject(JVMPlatform, NativePlatform, JSPlatform)
mimaBinaryIssueFilters ++= ignoredABIProblems
)
.nativeSettings(
crossScalaVersions := versionsNative,
crossScalaVersions := versions,
sharedJvmNativeSource,
nativeLinkStubs := true,
logLevel := Level.Info, // Info or Debug
Expand All @@ -179,7 +177,7 @@ lazy val sconfig = crossProject(JVMPlatform, NativePlatform, JSPlatform)
)
.jsConfigure(_.enablePlugins(ScalaJSJUnitPlugin))
.jsSettings(
crossScalaVersions := versionsJS,
crossScalaVersions := versions,
libraryDependencies += "org.ekrich" %%% "sjavatime" % javaTime % "provided"
)

Expand Down

0 comments on commit 25a0e5f

Please sign in to comment.