From 87e5d7a15548f51070d874e24a6d2a49508a1871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Costa?= Date: Sun, 3 Nov 2024 14:55:53 +0000 Subject: [PATCH] Update scala to 3.3.4 on examples and templates --- examples/release/01-introduction.md | 2 +- examples/release/02-portable-applications.md | 2 +- examples/release/03-animation.md | 2 +- examples/release/04-pointer-input.md | 2 +- examples/release/05-stateful-applications.md | 2 +- examples/release/06-surfaces.md | 2 +- examples/release/07-canvas-settings.md | 2 +- examples/release/08-loading-images.md | 2 +- examples/release/09-surface-views.md | 2 +- examples/release/10-vector-shapes.md | 2 +- examples/release/11-audio-playback.md | 2 +- examples/release/12-loading-sounds.md | 2 +- examples/snapshot/01-introduction.md | 2 +- examples/snapshot/02-portable-applications.md | 2 +- examples/snapshot/03-animation.md | 2 +- examples/snapshot/04-pointer-input.md | 2 +- examples/snapshot/05-stateful-applications.md | 2 +- examples/snapshot/06-surfaces.md | 2 +- examples/snapshot/07-canvas-settings.md | 2 +- examples/snapshot/08-loading-images.md | 2 +- examples/snapshot/09-surface-views.md | 2 +- examples/snapshot/10-vector-shapes.md | 2 +- examples/snapshot/11-audio-playback.md | 2 +- examples/snapshot/12-loading-sounds.md | 2 +- src/main/g8/default.properties | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/examples/release/01-introduction.md b/examples/release/01-introduction.md index 53de073c..f613297b 100644 --- a/examples/release/01-introduction.md +++ b/examples/release/01-introduction.md @@ -23,7 +23,7 @@ scala-cli 01-introduction.md The simplest way to use Minart is to simply include the `minart` library, which packages all modules. ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.2" ``` diff --git a/examples/release/02-portable-applications.md b/examples/release/02-portable-applications.md index bd9a87ae..d3badf5b 100644 --- a/examples/release/02-portable-applications.md +++ b/examples/release/02-portable-applications.md @@ -37,7 +37,7 @@ We start with the similar imports to the previous example. Note, however, that we now also import `eu.joaocosta.minart.runtime.*`, which provides a platform agnostic runtime that we can use. ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.2" import eu.joaocosta.minart.backend.defaults.given diff --git a/examples/release/03-animation.md b/examples/release/03-animation.md index da008a97..6b5301f7 100644 --- a/examples/release/03-animation.md +++ b/examples/release/03-animation.md @@ -11,7 +11,7 @@ This time, we'll write an animated fire, updating at 60 frames per second! As before, let's import the backend, graphics and runtime. ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.2" import eu.joaocosta.minart.backend.defaults.given diff --git a/examples/release/04-pointer-input.md b/examples/release/04-pointer-input.md index 37224c01..a3c98ad6 100644 --- a/examples/release/04-pointer-input.md +++ b/examples/release/04-pointer-input.md @@ -13,7 +13,7 @@ As before, let's import the backend, graphics and runtime. We also need to import the input package. We need this to read data from input devices, such as keyboard and mouse. ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.2" import eu.joaocosta.minart.backend.defaults.given diff --git a/examples/release/05-stateful-applications.md b/examples/release/05-stateful-applications.md index 08301bdf..5276f7d8 100644 --- a/examples/release/05-stateful-applications.md +++ b/examples/release/05-stateful-applications.md @@ -13,7 +13,7 @@ In this example, we will show how to write applications that manipulate a state The dependencies will be the same as before. We also include Scala's `Random` here just to make the game more interesting. ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.2" import scala.util.Random diff --git a/examples/release/06-surfaces.md b/examples/release/06-surfaces.md index b65509e3..983e16bb 100644 --- a/examples/release/06-surfaces.md +++ b/examples/release/06-surfaces.md @@ -16,7 +16,7 @@ A `Surface` is something with a `getPixel` operation (`MutableSurface`s also pro For this example, we just need to use the graphics and runtime ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.2" diff --git a/examples/release/07-canvas-settings.md b/examples/release/07-canvas-settings.md index 8b9e63de..1f050255 100644 --- a/examples/release/07-canvas-settings.md +++ b/examples/release/07-canvas-settings.md @@ -11,7 +11,7 @@ Here's a quick example on how to do that. In this example application, we will c ### Dependencies and imports ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.2" import eu.joaocosta.minart.backend.defaults.given diff --git a/examples/release/08-loading-images.md b/examples/release/08-loading-images.md index a3ed7178..15555ffc 100644 --- a/examples/release/08-loading-images.md +++ b/examples/release/08-loading-images.md @@ -14,7 +14,7 @@ This package also has an `Image` object with helpers to call the loaders. ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.2" import eu.joaocosta.minart.backend.defaults.given diff --git a/examples/release/09-surface-views.md b/examples/release/09-surface-views.md index 3eda9aaf..d97a7480 100644 --- a/examples/release/09-surface-views.md +++ b/examples/release/09-surface-views.md @@ -12,7 +12,7 @@ This tutorial will show how to use those ### Dependencies and imports ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.2" import eu.joaocosta.minart.backend.defaults.given diff --git a/examples/release/10-vector-shapes.md b/examples/release/10-vector-shapes.md index e51bc6bc..961f4518 100644 --- a/examples/release/10-vector-shapes.md +++ b/examples/release/10-vector-shapes.md @@ -9,7 +9,7 @@ Besides surfaces, Minart also allows you to render some basic vector shapes. The relevant methods are in the `eu.joaocosta.minart.geometry` package ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.2" import eu.joaocosta.minart.backend.defaults.given diff --git a/examples/release/11-audio-playback.md b/examples/release/11-audio-playback.md index e9d32100..6aa82ce4 100644 --- a/examples/release/11-audio-playback.md +++ b/examples/release/11-audio-playback.md @@ -9,7 +9,7 @@ Here we will see how to generate audio waves and play a simple audio clip. ### Dependencies and imports ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.2" import eu.joaocosta.minart.audio.* diff --git a/examples/release/12-loading-sounds.md b/examples/release/12-loading-sounds.md index 31744b80..a9417a5a 100644 --- a/examples/release/12-loading-sounds.md +++ b/examples/release/12-loading-sounds.md @@ -16,7 +16,7 @@ This package also has an `Sound` object with helpers to call the loaders. ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.2" import eu.joaocosta.minart.audio.* diff --git a/examples/snapshot/01-introduction.md b/examples/snapshot/01-introduction.md index ed51b467..3069277e 100644 --- a/examples/snapshot/01-introduction.md +++ b/examples/snapshot/01-introduction.md @@ -23,7 +23,7 @@ scala-cli 01-introduction.md The simplest way to use Minart is to simply include the `minart` library, which packages all modules. ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.3-SNAPSHOT" ``` diff --git a/examples/snapshot/02-portable-applications.md b/examples/snapshot/02-portable-applications.md index 0015c9c4..65e6d35f 100644 --- a/examples/snapshot/02-portable-applications.md +++ b/examples/snapshot/02-portable-applications.md @@ -37,7 +37,7 @@ We start with the similar imports to the previous example. Note, however, that we now also import `eu.joaocosta.minart.runtime.*`, which provides a platform agnostic runtime that we can use. ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.3-SNAPSHOT" import eu.joaocosta.minart.backend.defaults.given diff --git a/examples/snapshot/03-animation.md b/examples/snapshot/03-animation.md index 32941e90..cab67c5d 100644 --- a/examples/snapshot/03-animation.md +++ b/examples/snapshot/03-animation.md @@ -11,7 +11,7 @@ This time, we'll write an animated fire, updating at 60 frames per second! As before, let's import the backend, graphics and runtime. ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.3-SNAPSHOT" import eu.joaocosta.minart.backend.defaults.given diff --git a/examples/snapshot/04-pointer-input.md b/examples/snapshot/04-pointer-input.md index 11e89079..1484f590 100644 --- a/examples/snapshot/04-pointer-input.md +++ b/examples/snapshot/04-pointer-input.md @@ -13,7 +13,7 @@ As before, let's import the backend, graphics and runtime. We also need to import the input package. We need this to read data from input devices, such as keyboard and mouse. ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.3-SNAPSHOT" import eu.joaocosta.minart.backend.defaults.given diff --git a/examples/snapshot/05-stateful-applications.md b/examples/snapshot/05-stateful-applications.md index f9d5cb4c..9afb2a2c 100644 --- a/examples/snapshot/05-stateful-applications.md +++ b/examples/snapshot/05-stateful-applications.md @@ -13,7 +13,7 @@ In this example, we will show how to write applications that manipulate a state The dependencies will be the same as before. We also include Scala's `Random` here just to make the game more interesting. ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.3-SNAPSHOT" import scala.util.Random diff --git a/examples/snapshot/06-surfaces.md b/examples/snapshot/06-surfaces.md index 4d7da9bc..7503b29a 100644 --- a/examples/snapshot/06-surfaces.md +++ b/examples/snapshot/06-surfaces.md @@ -16,7 +16,7 @@ A `Surface` is something with a `getPixel` operation (`MutableSurface`s also pro For this example, we just need to use the graphics and runtime ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.3-SNAPSHOT" diff --git a/examples/snapshot/07-canvas-settings.md b/examples/snapshot/07-canvas-settings.md index ff2443dd..9fbc1f34 100644 --- a/examples/snapshot/07-canvas-settings.md +++ b/examples/snapshot/07-canvas-settings.md @@ -11,7 +11,7 @@ Here's a quick example on how to do that. In this example application, we will c ### Dependencies and imports ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.3-SNAPSHOT" import eu.joaocosta.minart.backend.defaults.given diff --git a/examples/snapshot/08-loading-images.md b/examples/snapshot/08-loading-images.md index cfca1845..beb79898 100644 --- a/examples/snapshot/08-loading-images.md +++ b/examples/snapshot/08-loading-images.md @@ -14,7 +14,7 @@ This package also has an `Image` object with helpers to call the loaders. ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.3-SNAPSHOT" import eu.joaocosta.minart.backend.defaults.given diff --git a/examples/snapshot/09-surface-views.md b/examples/snapshot/09-surface-views.md index b39654a3..4b1cef43 100644 --- a/examples/snapshot/09-surface-views.md +++ b/examples/snapshot/09-surface-views.md @@ -12,7 +12,7 @@ This tutorial will show how to use those ### Dependencies and imports ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.3-SNAPSHOT" import eu.joaocosta.minart.backend.defaults.given diff --git a/examples/snapshot/10-vector-shapes.md b/examples/snapshot/10-vector-shapes.md index 5a3c3c59..c2cfa682 100644 --- a/examples/snapshot/10-vector-shapes.md +++ b/examples/snapshot/10-vector-shapes.md @@ -9,7 +9,7 @@ Besides surfaces, Minart also allows you to render some basic vector shapes. The relevant methods are in the `eu.joaocosta.minart.geometry` package ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.3-SNAPSHOT" import eu.joaocosta.minart.backend.defaults.given diff --git a/examples/snapshot/11-audio-playback.md b/examples/snapshot/11-audio-playback.md index 9bc196a5..d1d951bf 100644 --- a/examples/snapshot/11-audio-playback.md +++ b/examples/snapshot/11-audio-playback.md @@ -9,7 +9,7 @@ Here we will see how to generate audio waves and play a simple audio clip. ### Dependencies and imports ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.3-SNAPSHOT" import eu.joaocosta.minart.audio.* diff --git a/examples/snapshot/12-loading-sounds.md b/examples/snapshot/12-loading-sounds.md index 85a1d2be..10f71087 100644 --- a/examples/snapshot/12-loading-sounds.md +++ b/examples/snapshot/12-loading-sounds.md @@ -16,7 +16,7 @@ This package also has an `Sound` object with helpers to call the loaders. ```scala -//> using scala "3.3.3" +//> using scala "3.3.4" //> using dep "eu.joaocosta::minart::0.6.3-SNAPSHOT" import eu.joaocosta.minart.audio.* diff --git a/src/main/g8/default.properties b/src/main/g8/default.properties index 5a1408ec..a717cc1f 100644 --- a/src/main/g8/default.properties +++ b/src/main/g8/default.properties @@ -2,5 +2,5 @@ name = Minart Project organization = com.github.myself package = $organization$.project version = 1.0 -scala_version = 3.3.3 +scala_version = 3.3.4 sbt_project = no