Skip to content

Commit 225a091

Browse files
authored
Update basic_usage.md with correct MultiPlatform docs (#837)
1 parent 394045f commit 225a091

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

docs/configuration/basic_usage.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,22 @@ project.version = scmVersion.version
6363
For multi project builds the plugin has to be applied only on the root
6464
project, but version has to be set also in submodules
6565

66-
```
66+
```kotlin
6767
plugins {
68-
id 'pl.allegro.tech.build.axion-release' version ''
68+
id("pl.allegro.tech.build.axion-release") version <VERSION NUMBER>
6969
}
7070

7171
scmVersion {
72-
// ...
72+
// ...
7373
}
7474

75-
allprojects {
76-
project.version = scmVersion.version
75+
version = scmVersion.version
76+
// ...
77+
78+
allprojects { // or subProjects
79+
// ...
80+
project.version = rootProject.version
81+
// ...
7782
}
7883
```
7984

0 commit comments

Comments
 (0)