1*af546375SCole Faust# Copyright 2021 Google LLC 2*af546375SCole Faust# 3*af546375SCole Faust# Licensed under the Apache License, Version 2.0 (the "License"); 4*af546375SCole Faust# you may not use this file except in compliance with the License. 5*af546375SCole Faust# You may obtain a copy of the License at 6*af546375SCole Faust# 7*af546375SCole Faust# https://www.apache.org/licenses/LICENSE-2.0 8*af546375SCole Faust# 9*af546375SCole Faust# Unless required by applicable law or agreed to in writing, software 10*af546375SCole Faust# distributed under the License is distributed on an "AS IS" BASIS, 11*af546375SCole Faust# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*af546375SCole Faust# See the License for the specific language governing permissions and 13*af546375SCole Faust# limitations under the License. 14*af546375SCole Faust 15*af546375SCole Faustimport synthtool as s 16*af546375SCole Faustfrom synthtool.languages import java 17*af546375SCole Faust 18*af546375SCole Faust 19*af546375SCole Faustfor library in s.get_staging_dirs(): 20*af546375SCole Faust # put any special-case replacements here 21*af546375SCole Faust s.move(library) 22*af546375SCole Faust 23*af546375SCole Fausts.remove_staging_dirs() 24*af546375SCole Faustjava.common_templates( 25*af546375SCole Faust excludes=[ 26*af546375SCole Faust "LICENSE", 27*af546375SCole Faust "README.md", 28*af546375SCole Faust "java.header", 29*af546375SCole Faust "checkstyle.xml", 30*af546375SCole Faust "renovate.json", 31*af546375SCole Faust "license-checks.xml", 32*af546375SCole Faust "samples/**", 33*af546375SCole Faust ".github/workflows/approve-readme.yaml", 34*af546375SCole Faust ".github/workflows/samples.yaml", 35*af546375SCole Faust ".github/CODEOWNERS", 36*af546375SCole Faust ".kokoro/nightly/integration.cfg", 37*af546375SCole Faust ".kokoro/presubmit/integration.cfg", 38*af546375SCole Faust ".kokoro/presubmit/graalvm-native.cfg", 39*af546375SCole Faust ".kokoro/presubmit/graalvm-native-17.cfg", 40*af546375SCole Faust ".kokoro/build.sh" 41*af546375SCole Faust ] 42*af546375SCole Faust) 43