This is an automated email from the ASF dual-hosted git repository. jamesfredley pushed a commit to branch licence-updates in repository https://gitbox.apache.org/repos/asf/grails-redis.git
commit 5fb9b3843529cba74a320a4fa07e83ce5a4d329e Author: James Fredley <[email protected]> AuthorDate: Mon Jun 9 14:28:59 2025 -0400 Add license header to .gradle files --- build.gradle | 19 +++++++++++++++++++ buildSrc/build.gradle | 19 +++++++++++++++++++ examples/redis-demo/build.gradle | 19 +++++++++++++++++++ gradle/docs-config.gradle | 19 +++++++++++++++++++ gradle/examples-config.gradle | 19 +++++++++++++++++++ gradle/java-config.gradle | 19 +++++++++++++++++++ gradle/publish-config.gradle | 19 +++++++++++++++++++ gradle/test-config.gradle | 19 +++++++++++++++++++ plugin/build.gradle | 19 +++++++++++++++++++ settings.gradle | 19 +++++++++++++++++++ 10 files changed, 190 insertions(+) diff --git a/build.gradle b/build.gradle index 9415b1c..2154873 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,22 @@ +/* + * 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 + * + * https://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. + */ + // Workaround needed for nexus publishing bug // version and group must be specified in the root project // https://github.com/gradle-nexus/publish-plugin/issues/310 diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index 33b9a7f..97fdd9d 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -1,3 +1,22 @@ +/* + * 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 + * + * https://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. + */ + plugins { id 'groovy-gradle-plugin' } diff --git a/examples/redis-demo/build.gradle b/examples/redis-demo/build.gradle index 8ec181c..8b56861 100644 --- a/examples/redis-demo/build.gradle +++ b/examples/redis-demo/build.gradle @@ -1,3 +1,22 @@ +/* + * 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 + * + * https://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. + */ + plugins { id 'com.bertramlabs.asset-pipeline' id 'org.apache.grails.gradle.grails-web' diff --git a/gradle/docs-config.gradle b/gradle/docs-config.gradle index 5626d63..c07671a 100644 --- a/gradle/docs-config.gradle +++ b/gradle/docs-config.gradle @@ -1,3 +1,22 @@ +/* + * 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 + * + * https://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. + */ + configurations.register('documentation') { extendsFrom(configurations.compileClasspath) } diff --git a/gradle/examples-config.gradle b/gradle/examples-config.gradle index c947290..8e1169e 100644 --- a/gradle/examples-config.gradle +++ b/gradle/examples-config.gradle @@ -1,3 +1,22 @@ +/* + * 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 + * + * https://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. + */ + tasks.withType(Groovydoc).configureEach { enabled = false } \ No newline at end of file diff --git a/gradle/java-config.gradle b/gradle/java-config.gradle index 6a72fe1..297dbd1 100644 --- a/gradle/java-config.gradle +++ b/gradle/java-config.gradle @@ -1 +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 + * + * https://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. + */ + compileJava.options.release = javaVersion.toInteger() \ No newline at end of file diff --git a/gradle/publish-config.gradle b/gradle/publish-config.gradle index 6b1b5d6..2c35d3f 100644 --- a/gradle/publish-config.gradle +++ b/gradle/publish-config.gradle @@ -1,3 +1,22 @@ +/* + * 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 + * + * https://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. + */ + import org.grails.gradle.plugin.publishing.GrailsPublishExtension extensions.configure(GrailsPublishExtension) { diff --git a/gradle/test-config.gradle b/gradle/test-config.gradle index 81bba86..4d0eb56 100644 --- a/gradle/test-config.gradle +++ b/gradle/test-config.gradle @@ -1,3 +1,22 @@ +/* + * 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 + * + * https://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. + */ + dependencies { add('testRuntimeOnly', 'org.junit.platform:junit-platform-launcher') // Gradle 9+ requires this } diff --git a/plugin/build.gradle b/plugin/build.gradle index 0363790..ad3d455 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -1,3 +1,22 @@ +/* + * 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 + * + * https://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. + */ + plugins { id 'java-library' id 'org.apache.grails.gradle.grails-plugin' diff --git a/settings.gradle b/settings.gradle index 25db824..299c972 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,3 +1,22 @@ +/* + * 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 + * + * https://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. + */ + plugins { id 'com.gradle.develocity' version '4.0' id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.2.1'
