Skip to content

Commit

Permalink
Update the build instructions doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kirill-grouchnikov committed Oct 12, 2022
1 parent 28b553d commit 222348b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ Aurora is built with Java 11. Search for "Java 11 download" in your favorite sea

### Local artifacts

To build library artifacts, run `./gradlew build` in your terminal. After this command completes, the packaged jar files will be under the matching library folders. To copy all the jars under one location, run `./gradlew copyJars` command. For version `X.Y` of Aurora (see `version` in `build.gradle`), the artifacts will be copied into the `drop/X.Y` folder.
* To build library artifacts, run `./gradlew build` in your terminal.
* After this command completes, the packaged jar files will be under the matching library folders.
* To copy all the jars under one location, run `./gradlew copyJars` command.
* For version `X.Y` of Aurora (see `VERSION_NAME` in `gradle.properties`), the artifacts will be copied into the `drop/X.Y` folder.

### Local third-party dependencies

Some Aurora libraries have third-party dependencies. To print the full dependency tree, run `./gradlew printRuntimeDependencies`. Here is a snippet that shows the dependencies for [SVG Transcoder](tools/svg-transcoder/svg-transcoder.md):

```
-------- svg-transcoder --------
org.jetbrains.compose.desktop:desktop:1.0.0
org.apache.xmlgraphics:batik-all:1.14
org.jetbrains.compose.desktop:desktop:1.2.0
org.apache.xmlgraphics:batik-all:1.15
```

To locally copy these dependencies (in case you do not want to pull them at build time with Gradle, Maven or other similar build tools in your own environment), use `./gradlew getDependencies`. Once that command completes, all dependencies will be in the `build/libs` folder.
Expand Down

0 comments on commit 222348b

Please sign in to comment.