This is an automated email from the ASF dual-hosted git repository. awasum pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/fineract-cn-permitted-feign-client.git
commit a064616087cb459144b48686db61062803efcf6d Author: Myrle Krantz <[email protected]> AuthorDate: Mon Apr 9 22:01:24 2018 +0200 Adding rat checks. --- another-for-test/build.gradle | 18 ++++++++++++++++++ another-for-test/settings.gradle | 17 +++++++++++++++++ api/build.gradle | 18 ++++++++++++++++++ api/settings.gradle | 17 +++++++++++++++++ build.gradle | 25 +++++++++++++++++++++++++ component-test/build.gradle | 18 ++++++++++++++++++ component-test/settings.gradle | 17 +++++++++++++++++ library/build.gradle | 18 ++++++++++++++++++ library/settings.gradle | 17 +++++++++++++++++ settings.gradle | 17 +++++++++++++++++ shared.gradle | 30 ++++++++++++++++++++++++++++++ 11 files changed, 212 insertions(+) diff --git a/another-for-test/build.gradle b/another-for-test/build.gradle index 7c7eb3c..844d116 100644 --- a/another-for-test/build.gradle +++ b/another-for-test/build.gradle @@ -1,3 +1,20 @@ +/* + * 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 { ext { springBootVersion = '1.4.1.RELEASE' @@ -14,6 +31,7 @@ buildscript { plugins { id 'com.github.hierynomus.license' version '0.13.1' + id("org.nosphere.apache.rat") version "0.3.1" } apply from: '../shared.gradle' diff --git a/another-for-test/settings.gradle b/another-for-test/settings.gradle index bd1dca3..96d1a34 100644 --- a/another-for-test/settings.gradle +++ b/another-for-test/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 = 'another-for-test' diff --git a/api/build.gradle b/api/build.gradle index a5a9150..0c393b6 100644 --- a/api/build.gradle +++ b/api/build.gradle @@ -1,3 +1,20 @@ +/* + * 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 { @@ -11,6 +28,7 @@ buildscript { plugins { id 'com.github.hierynomus.license' version '0.13.1' + id("org.nosphere.apache.rat") version "0.3.1" } diff --git a/api/settings.gradle b/api/settings.gradle index 5cd7dd3..5798b26 100644 --- a/api/settings.gradle +++ b/api/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' diff --git a/build.gradle b/build.gradle index f5737f0..4b0f9a2 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,20 @@ +/* + * 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. + */ + group 'org.apache.fineract.cn' task publishApiToMavenLocal { @@ -42,3 +59,11 @@ task prepareForTest { dependsOn publishToMavenLocal dependsOn gradle.includedBuild('component-test').task(':build') } + +task rat { + group 'all' + dependsOn gradle.includedBuild('api').task(':rat') + dependsOn gradle.includedBuild('library').task(':rat') + dependsOn gradle.includedBuild('another-for-test').task(':rat') + dependsOn gradle.includedBuild('component-test').task(':rat') +} diff --git a/component-test/build.gradle b/component-test/build.gradle index 869b9d8..84ebe43 100644 --- a/component-test/build.gradle +++ b/component-test/build.gradle @@ -1,3 +1,20 @@ +/* + * 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 { ext { springBootVersion = '1.4.1.RELEASE' @@ -14,6 +31,7 @@ buildscript { plugins { id 'com.github.hierynomus.license' version '0.13.1' + id("org.nosphere.apache.rat") version "0.3.1" } apply from: '../shared.gradle' diff --git a/component-test/settings.gradle b/component-test/settings.gradle index b2e36e3..dc9351a 100644 --- a/component-test/settings.gradle +++ b/component-test/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 = 'component-test' diff --git a/library/build.gradle b/library/build.gradle index 16838e1..b64e91e 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -1,3 +1,20 @@ +/* + * 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() @@ -10,6 +27,7 @@ buildscript { plugins { id 'com.github.hierynomus.license' version '0.13.1' + id("org.nosphere.apache.rat") version "0.3.1" } apply from: '../shared.gradle' diff --git a/library/settings.gradle b/library/settings.gradle index 835224a..9731c48 100644 --- a/library/settings.gradle +++ b/library/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 = 'library' diff --git a/settings.gradle b/settings.gradle index f43e401..e75705d 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,3 +1,20 @@ +/* + * 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 = 'permitted-feign-client' includeBuild 'api' diff --git a/shared.gradle b/shared.gradle index c7a6d95..912a6fb 100644 --- a/shared.gradle +++ b/shared.gradle @@ -1,3 +1,20 @@ +/* + * 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. + */ + group 'org.apache.fineract.cn.permitted-feign-client' version '0.1.0-BUILD-SNAPSHOT' @@ -75,3 +92,16 @@ license { } task ci(dependsOn: ['clean', 'test', 'publish']) + +rat { + // List of exclude directives, defaults to ['**/.gradle/**'] + excludes = [ + "**/.idea/**", + "**/.gradle/**", + "**/gradle/**", + "**/build/**", + "gradlew", + "gradlew.bat", + "README.md" + ] +}
