From 86f6a8c9b8a221d00079e89ed4afc7b41ba47684 Mon Sep 17 00:00:00 2001 From: Adam Monsen Date: Thu, 18 Dec 2025 10:45:32 -0800 Subject: [PATCH] add license to scripts/*.sh conform rather than bypass RAT license check --- build.gradle | 3 +-- scripts/split-features.sh | 17 +++++++++++++++++ scripts/split-tests.sh | 18 ++++++++++++++++++ 3 files changed, 36 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 1d25ed051..ee244517c 100644 --- a/build.gradle +++ b/build.gradle @@ -344,8 +344,7 @@ allprojects { "**/generated/**/*MapperImpl.java", '**/META-INF/fineract-test.config', // Apache-specific GitHub metadata settings file - '/.asf.yaml', - '**/*.sh' + '/.asf.yaml' ] } } diff --git a/scripts/split-features.sh b/scripts/split-features.sh index 2213af4cf..8e5fb2dd5 100755 --- a/scripts/split-features.sh +++ b/scripts/split-features.sh @@ -1,5 +1,22 @@ #!/bin/bash +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # Exit on any error set -e diff --git a/scripts/split-tests.sh b/scripts/split-tests.sh index c083fedf8..713466917 100755 --- a/scripts/split-tests.sh +++ b/scripts/split-tests.sh @@ -1,4 +1,22 @@ #!/bin/bash + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # Usage: ./split-tests.sh set -e