You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ju...@apache.org on 2020/04/21 14:52:04 UTC
[fineract-cn-api] 27/44: Adding rat checks.
This is an automated email from the ASF dual-hosted git repository.
juhan pushed a commit to branch spring_boot_2
in repository https://gitbox.apache.org/repos/asf/fineract-cn-api.git
commit bd7ca7893c5ca9eb2e99f51da8b8a559335fb38e
Author: Myrle Krantz <my...@apache.org>
AuthorDate: Mon Apr 9 16:48:17 2018 +0200
Adding rat checks.
---
build.gradle | 34 +++++++++++++++++++++++++++++++++-
settings.gradle | 17 +++++++++++++++++
2 files changed, 50 insertions(+), 1 deletion(-)
diff --git a/build.gradle b/build.gradle
index 80213cf..385aa95 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,6 +1,23 @@
+/*
+ * 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.
+ */
+
buildscript {
repositories {
- jcenter();
+ jcenter()
}
dependencies {
classpath 'io.spring.gradle:dependency-management-plugin:0.6.0.RELEASE'
@@ -9,6 +26,7 @@ buildscript {
plugins {
id 'com.github.hierynomus.license' version '0.13.1'
+ id("org.nosphere.apache.rat") version "0.3.1"
}
group 'org.apache.fineract.cn'
@@ -83,3 +101,17 @@ license {
java = 'SLASHSTAR_STYLE'
}
}
+
+
+rat {
+ // List of exclude directives, defaults to ['**/.gradle/**']
+ excludes = [
+ ".idea/**",
+ ".gradle/**",
+ "gradle/**",
+ "build/**",
+ "gradlew",
+ "gradlew.bat",
+ "README.md"
+ ]
+}
\ No newline at end of file
diff --git a/settings.gradle b/settings.gradle
index 7c8e3dc..491f745 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1 +1,18 @@
+/*
+ * 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.
+ */
+
rootProject.name = 'api'
\ No newline at end of file