1#!/bin/bash 2set -e 3cd "$(dirname "$0")" 4 5# Builds all projects that support KMP 6# Must be run on Mac 7export ANDROIDX_PROJECTS=KMP 8 9# This target is for testing that clean builds work correctly 10export USE_ANDROIDX_REMOTE_BUILD_CACHE=false 11 12# createAllArchives generates all the artifacts to publish 13# createAggregateBuildInfoFiles is needed for JetPad to know what can be published 14impl/build.sh createAllArchives createAggregateBuildInfoFiles 15 16# run a separate createAllArchives task to prepare a repository 17# folder in DIST. 18# This cannot be merged with the buildOnServer run because 19# snapshot version is not a proper release version. 20DIST_DIR=$DIST_DIR/snapshots SNAPSHOT=true impl/build.sh createAllArchives 21