Skip to content

Add API links for Scala 3.5.1 #3073

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ keywords:

scala-version: 2.13.14
scala-212-version: 2.12.20
scala-3-version: 3.5.0
scala-3-version: 3.5.1

collections:
style:
Expand Down
4 changes: 2 additions & 2 deletions _overviews/tutorials/scala-on-android.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Make sure your `gcc` is at least version 6. [You can try following these steps](

#### The example app

if you reached this point and everything seems to work, it means you probably should be able to compile and run the example app called [HelloScala](https://github.com/makingthematrix/scalaonandroid/tree/main/helloscala). HelloScala is based on [HelloGluon](https://github.com/gluonhq/gluon-samples/tree/master/HelloGluon) from [Gluon samples](https://github.com/gluonhq/gluon-samples). Gluon is a company that maintains JavaFX and provides libraries that give us a layer of abstraction between our code and the device — be it desktop, Android, or iOS. It has some interesting implications: for example, you will see in the code that we check if we are on the desktop instead of Android, because if yes then we need to provide window size for our app. If we are on Android, we can just let the app’s window take the whole screen. If you decide to write something more complex with this tech stack, you will quickly see that you can use Gluon’s libraries and JavaFX (maybe together with [ScalaFX](http://www.scalafx.org/)) to achieve the same results other developers get by tinkering with Android SDK, while you are writing code that can be easily re-used on other platforms as well.
if you reached this point and everything seems to work, it means you probably should be able to compile and run the example app called [HelloScala](https://github.com/makingthematrix/scalaonandroid/tree/main/helloscala). HelloScala is based on [HelloGluon](https://github.com/gluonhq/gluon-samples/tree/master/HelloGluon) from [Gluon samples](https://github.com/gluonhq/gluon-samples). Gluon is a company that maintains JavaFX and provides libraries that give us a layer of abstraction between our code and the device — be it desktop, Android, or iOS. It has some interesting implications: for example, you will see in the code that we check if we are on the desktop instead of Android, because if yes then we need to provide window size for our app. If we are on Android, we can just let the app’s window take the whole screen. If you decide to write something more complex with this tech stack, you will quickly see that you can use Gluon’s libraries and JavaFX (maybe together with [ScalaFX](https://scalafx.github.io/)) to achieve the same results other developers get by tinkering with Android SDK, while you are writing code that can be easily re-used on other platforms as well.

In the `pom.xml` of HelloScala you will find a list of plugins and dependencies our example app uses. Let’s take a look at some of them.

Expand Down Expand Up @@ -136,7 +136,7 @@ If you managed to build one of the example apps and want to code something more
- Install [Scene Builder](https://gluonhq.com/products/scene-builder/) and learn how to build GUI with it. Apart from the docs, you can find a lot of tutorials about it on YouTube.
- Look through [Gluon’s documentation of Glisten and Attach](https://docs.gluonhq.com/) to learn how to make your app look better on a mobile device, and how to get access to your device’s features.
- Download an example from [Gluon’s list of samples](https://docs.gluonhq.com/) and rewrite it to Scala. And when you do, let me know!
- Look into [ScalaFX](http://www.scalafx.org/) — a more declarative, Scala-idiomatic wrapper over JavaFX.
- Look into [ScalaFX](https://scalafx.github.io/) — a more declarative, Scala-idiomatic wrapper over JavaFX.
- Download some other examples from [the “Scala on Android” repository on GitHub](https://github.com/makingthematrix/scalaonandroid). Contact me, if you write an example app of your own and want me to include it.
- Join us on the official Scala discord — we have a [#scala-android channel](https://discord.gg/UuDawpq7) there.
- There is also an [#android channel](https://discord.gg/XHMt6Yq4) on the “Learning Scala” discord.
Expand Down
6 changes: 4 additions & 2 deletions api/all.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ redirect_from:

## Latest releases

* Scala 3.5.0
* [Library API](https://www.scala-lang.org/api/3.5.0/)
* Scala 3.5.1
* [Library API](https://www.scala-lang.org/api/3.5.1/)
* Scala 3.3.3 LTS
* [Library API](https://www.scala-lang.org/api/3.3.3/)
* Scala 2.13.14
Expand Down Expand Up @@ -64,6 +64,8 @@ https://scala-ci.typesafe.com/artifactory/scala-integration/org/scala-lang/

## Previous releases

* Scala 3.5.0
* [Library API](https://www.scala-lang.org/api/3.5.0/)
* Scala 3.4.3
* [Library API](https://www.scala-lang.org/api/3.4.3/)
* Scala 3.4.2
Expand Down