#!/bin/bash
set -e
cd "$(dirname $0)"

export ANDROIDX_PROJECTS=KMP

# disable GCP cache, these machines don't have credentials.
export USE_ANDROIDX_REMOTE_BUILD_CACHE=false

impl/build.sh buildOnServer --no-configuration-cache

#!/bin/bash
set -e
cd "$(dirname $0)"

export ANDROIDX_PROJECTS=KMP

# disable GCP cache, these machines don't have credentials.
export USE_ANDROIDX_REMOTE_BUILD_CACHE=false

impl/build.sh buildOnServer --no-configuration-cache

# run a separate createArchive task to prepare a repository
# folder in DIST.
# This cannot be merged with the buildOnServer run because
# snapshot version is not a proper release version.
DIST_DIR=$DIST_DIR/snapshots SNAPSHOT=true impl/build.sh createArchive --no-configuration-cache

Create snapshot repo for mac builds
Create snapshot repo for mac builds

This is needed to serve artifacts via androidx.dev

Bug: n/a
Test: go/abtd
Change-Id: I134d01c057fe06ed5f3daf32cc7d5db99ce1e1bc
