1*7e7863daSAndroid Build Coastguard Worker#!/bin/sh 2*7e7863daSAndroid Build Coastguard Worker 3*7e7863daSAndroid Build Coastguard Worker# 4*7e7863daSAndroid Build Coastguard Worker# Copyright (C) 2023 The Android Open Source Project 5*7e7863daSAndroid Build Coastguard Worker# 6*7e7863daSAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License"); 7*7e7863daSAndroid Build Coastguard Worker# you may not use this file except in compliance with the License. 8*7e7863daSAndroid Build Coastguard Worker# You may obtain a copy of the License at 9*7e7863daSAndroid Build Coastguard Worker# 10*7e7863daSAndroid Build Coastguard Worker# http://www.apache.org/licenses/LICENSE-2.0 11*7e7863daSAndroid Build Coastguard Worker# 12*7e7863daSAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software 13*7e7863daSAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS, 14*7e7863daSAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15*7e7863daSAndroid Build Coastguard Worker# See the License for the specific language governing permissions and 16*7e7863daSAndroid Build Coastguard Worker# limitations under the License. 17*7e7863daSAndroid Build Coastguard Worker# 18*7e7863daSAndroid Build Coastguard Worker 19*7e7863daSAndroid Build Coastguard Workerecho "***Applying Spotless***" 20*7e7863daSAndroid Build Coastguard Worker 21*7e7863daSAndroid Build Coastguard Worker./gradlew spotlessApply --init-script gradle/init.gradle.kts 22*7e7863daSAndroid Build Coastguard Worker 23*7e7863daSAndroid Build Coastguard Workerexit $status 24