|
4 | 4 | :toc: preamble |
5 | 5 | :icons: font |
6 | 6 | // INCLUDED ATTRIBUTES |
7 | | -:version-plugin: 0.9.10 |
| 7 | +:version-plugin: 0.9.11 |
8 | 8 | :version-gradle: 9.1.0-rc-3 |
9 | 9 | :version-scala: 3.7.3 |
10 | 10 | :version-scala-213: 2.13.16 |
@@ -78,8 +78,8 @@ Plugin: |
78 | 78 | - for `Scala.js`, retrieves and installs the configured version of https://nodejs.org/[Node.js]; |
79 | 79 | - for `Scala.js`, installs the configured `Node.js` modules using `npm`; |
80 | 80 | - augments the `test` task to work with sbt-enabled test frameworks; |
81 | | -- includes sources shared between backends; |
82 | | -- includes sources for specific Scala version; |
| 81 | +- includes sources and resources shared between backends; |
| 82 | +- includes sources and resources for specific Scala version; |
83 | 83 | - configures project artifacts to include shared code when needed; |
84 | 84 | - configures names of the project artifact in accordance with the accepted conventions; |
85 | 85 | - exposes, via `scalaBackend` extension, |
@@ -194,14 +194,23 @@ for Scala version `x.y.z`, additional Scala source roots are: |
194 | 194 |
|
195 | 195 | - `scala-x.y.z`; |
196 | 196 | - `scala-x.y`; |
197 | | -- `scala-x`; |
| 197 | +- `scala-x`;. |
198 | 198 |
|
199 | | -Additional sources are included both in Scala compilation and archives that package Scala sources. |
| 199 | +Similarly, alongside the usual resource root `resources`, |
| 200 | +as in `src/main/resources` and `src/test/resources`, |
| 201 | +plugin includes resources from resource roots specific to the Scala version in use; |
| 202 | +for Scala version `x.y.z`, additional resource roots are: |
| 203 | + |
| 204 | +- `resources-x.y.z`; |
| 205 | +- `resources-x.y`; |
| 206 | +- `resources-x`. |
| 207 | + |
| 208 | +Additional Scala sources and resources are included both in Scala compilation and archives that package Scala sources. |
200 | 209 |
|
201 | 210 | This applies to Scala sources shared between the backends too. |
202 | 211 |
|
203 | | -Since only sources appropriate to the Scala version in use are added, |
204 | | -to work on the version-specific sources in the IDE, |
| 212 | +Since only sources and resources appropriate to the Scala version in use are added, |
| 213 | +to work on the version-specific sources and resources in the IDE, |
205 | 214 | you need to set the Gradle property that selects the Scala version |
206 | 215 | and re-load the project in the IDE. |
207 | 216 |
|
|
0 commit comments