WikiWatershed / mmw-geoprocessing

A Spark Job Server job for Model My Watershed geoprocessing.
Apache License 2.0
6 stars 6 forks source link

AWS 2-2: Upgrade to Latest Scala, SBT #105

Closed rajadain closed 2 months ago

rajadain commented 4 months ago
rajadain commented 4 months ago

Latest GeoTrellis is on Scala v2.13.12:

https://github.com/locationtech/geotrellis/blob/af71a4ae027bfeaa9a930bc086ca98186e701953/build.sbt#L4

This project is on v2.11.11:

https://github.com/WikiWatershed/mmw-geoprocessing/blob/cb54f3c5365e89ff8fa270097a8c8000fb84a1c9/project/build.scala#L15

This should be a relatively straightforward upgrade. Fortunately we're not upgrading to Scala 3, which is a significantly bigger migration step.

rajadain commented 4 months ago

Latest GeoTrellis is on SBT v1.9.7:

https://github.com/locationtech/geotrellis/blob/af71a4ae027bfeaa9a930bc086ca98186e701953/sbt#L37

This project is on v1.5.5:

https://github.com/WikiWatershed/mmw-geoprocessing/blob/cb54f3c5365e89ff8fa270097a8c8000fb84a1c9/sbt#L37

rajadain commented 4 months ago

Read this migration guide for how to upgrade SBT: https://github.com/sbt/sbt-assembly/blob/develop/Migration.md