Skip to content

Commit a26c499

Browse files
Updates build instructions.
1 parent 3c4069b commit a26c499

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

lite/70-building.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,23 @@ permalink: /lite/building
88

99
# Building from source
1010

11-
Part of the UI is shared between the on-premises installation, cloud service, and Structurizr Lite
12-
so you will need to additionally clone the [structurizr/ui](https://github.com/structurizr/ui) repo.
13-
1411
## Build
1512

1613
```
14+
git clone https://github.com/structurizr/java.git structurizr-java
1715
git clone --recursive https://github.com/structurizr/lite.git structurizr-lite
1816
git clone https://github.com/structurizr/ui.git structurizr-ui
17+
cd structurizr-java
18+
./gradlew -Pversion=dev clean build publishToMavenLocal
19+
cd ..
1920
cd structurizr-lite
2021
./ui.sh
21-
./gradlew clean build
22+
./gradlew -PstructurizrVersion=dev clean build
2223
```
23-
> To use early access/preview features, change the value of `PREVIEW_FEATURES` to `true` in the [Configuration](https://github.com/structurizr/lite/blob/main/src/main/java/com/structurizr/lite/Configuration.java) class.
2424

25-
If successful, you will see a file named `structurizr-lite.war` in `structurizr-onpremises/build/libs`.
25+
[//]: # (> To use early access/preview features, change the value of `PREVIEW_FEATURES` to `true` in the [Configuration](https://github.com/structurizr/lite/blob/main/src/main/java/com/structurizr/lite/Configuration.java) class.)
2626

27-
If you see an error message of the form `Could not find com.structurizr:structurizr-dsl:x.y.z`, you will need to
28-
[build the Structurizr for Java repo from source, and publish to your local Maven repository](/java/building).
27+
If successful, you will see a file named `structurizr-lite.war` in `structurizr-lite/build/libs`.
2928

3029
## Run
3130

0 commit comments

Comments
 (0)