David Saff | 61619e2 | 2022-03-03 21:00:32 +0000 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | set -e |
David Saff | 61619e2 | 2022-03-03 21:00:32 +0000 | [diff] [blame] | 3 | cd "$(dirname $0)" |
| 4 | |
Fred Sladkey | 7aea553 | 2023-01-03 11:22:29 -0500 | [diff] [blame] | 5 | # Builds all projects that support KMP except for Compose-specific projects which are already |
| 6 | # covered by androidx_compose_multiplatform.sh |
| 7 | |
| 8 | # Must be run on Linux |
| 9 | |
Yigit Boyar | 6ed9510 | 2022-06-02 10:19:01 -0700 | [diff] [blame] | 10 | # build just KMP projects. This will also enable native targets. |
| 11 | export ANDROIDX_PROJECTS=KMP |
David Saff | 61619e2 | 2022-03-03 21:00:32 +0000 | [diff] [blame] | 12 | |
Yigit Boyar | 6ed9510 | 2022-06-02 10:19:01 -0700 | [diff] [blame] | 13 | # disable cache, NS does not allow it yet: b/235227707 |
| 14 | export USE_ANDROIDX_REMOTE_BUILD_CACHE=false |
David Saff | 61619e2 | 2022-03-03 21:00:32 +0000 | [diff] [blame] | 15 | |
Yigit Boyar | 6ed9510 | 2022-06-02 10:19:01 -0700 | [diff] [blame] | 16 | # run build in a sandbox |
Fred Sladkey | ecd8ce9 | 2022-10-10 15:46:05 +0000 | [diff] [blame] | 17 | ../development/sandbox/run-without-network.sh impl/build.sh buildOnServer allTests --no-configuration-cache --no-daemon -Pandroidx.displayTestOutput=false |