Skip to content

Commit

Permalink
Update scala to 3.3.4 on examples and templates
Browse files Browse the repository at this point in the history
  • Loading branch information
JD557 committed Nov 3, 2024
1 parent 8e8d416 commit 87e5d7a
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion examples/release/01-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```

Expand Down
2 changes: 1 addition & 1 deletion examples/release/02-portable-applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/release/03-animation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/release/04-pointer-input.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/release/05-stateful-applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/release/06-surfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"


Expand Down
2 changes: 1 addition & 1 deletion examples/release/07-canvas-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/release/08-loading-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/release/09-surface-views.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/release/10-vector-shapes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/release/11-audio-playback.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand Down
2 changes: 1 addition & 1 deletion examples/release/12-loading-sounds.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand Down
2 changes: 1 addition & 1 deletion examples/snapshot/01-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```

Expand Down
2 changes: 1 addition & 1 deletion examples/snapshot/02-portable-applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/snapshot/03-animation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/snapshot/04-pointer-input.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/snapshot/05-stateful-applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/snapshot/06-surfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"


Expand Down
2 changes: 1 addition & 1 deletion examples/snapshot/07-canvas-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/snapshot/08-loading-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/snapshot/09-surface-views.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/snapshot/10-vector-shapes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/snapshot/11-audio-playback.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand Down
2 changes: 1 addition & 1 deletion examples/snapshot/12-loading-sounds.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand Down
2 changes: 1 addition & 1 deletion src/main/g8/default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 87e5d7a

Please sign in to comment.