diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15ca2084..96fbab17 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: adopt - java-version: 8 + java-version: 11 - name: Cache sbt uses: coursier/cache-action@v6 diff --git a/PROCESS.md b/PROCESS.md index 32776aa3..a7d8394d 100644 --- a/PROCESS.md +++ b/PROCESS.md @@ -36,5 +36,5 @@ version will be published in [Sonatype's snapshots repository, under the Velocid To release the artifacts in the Sonatype's release repository, which eventually gets synced to [Maven Central](https://repo1.maven.org/maven2/com/velocidi/), simply use `sbt` to run `release`. -This will result in the releasing of all the `apso-*` libraries. Please ensure you are using `java 8` when releasing +This will result in the releasing of all the `apso-*` libraries. Please ensure you are using Java 11 when releasing new versions. diff --git a/README.md b/README.md index 27dabc95..02f8798c 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ The `Geo` object provides methods to compute distances in kilometers between two import com.velocidi.apso.Geo Geo.distance((41.1617609, -8.6024716), (41.1763745, -8.5964861)) -// res2: Double = 1.7004440762344684 +// res2: Double = 1.7004440788845807 ``` You can also have the distance function curried if you are computing distances from a fixed point: @@ -122,7 +122,7 @@ val distFromOffice = Geo.distanceFrom((41.1617609, -8.6024716)) ``` ```scala distFromOffice((41.1763745, -8.5964861)) -// res3: Double = 1.7004440762344684 +// res3: Double = 1.7004440788845807 distFromOffice((38.7223032, -9.1414664)) // res4: Double = 275.118392477037