Skip to content

Commit

Permalink
Merge pull request #584 from adzerk/java-11
Browse files Browse the repository at this point in the history
Start using Java 11
  • Loading branch information
rafaavc authored Nov 29, 2023
2 parents 9bdcd2d + 5664a5d commit 32d0b80
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion PROCESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 32d0b80

Please sign in to comment.