blob: d3393c0eb446d0473f338ac2ec4b893681fc5879 [file] [log] [blame]
Jim Sfee68272024-01-11 11:50:15 -08001#!/bin/bash
2# Copyright 2024 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16set -e
17GRADLEW_LOCATION="$(dirname $0)"/../../gradlew
18VERIFICATION_METADATA="$(dirname $0)"/../../gradle/verification-metadata.xml
Jim S88addb42024-01-18 16:20:47 -080019REPOSITORY_LOCATION="$(realpath $(dirname $0))"/compiler/compose-compiler-snapshot-repository
Jim Sfee68272024-01-11 11:50:15 -080020COMPOSE_CUSTOM_VERSION=99.0.0 $GRADLEW_LOCATION -Dmaven.repo.local=$REPOSITORY_LOCATION -Pandroidx.versionExtraCheckEnabled=false :compose:compiler:compiler:publishToMavenLocal --stacktrace
Jim S10f503b2024-01-17 09:11:33 -080021rm -f $VERIFICATION_METADATA