This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy-geb.git


The following commit(s) were added to refs/heads/master by this push:
     new 3f29ab8f minor refactor: add license header & remove deprecated gradle 
syntax
3f29ab8f is described below

commit 3f29ab8f326d87377bd2a5834b5ad617826968c5
Author: Paul King <[email protected]>
AuthorDate: Thu Dec 12 13:38:14 2024 +1000

    minor refactor: add license header & remove deprecated gradle syntax
---
 .../main/groovy/geb.all-sources-configuration.gradle | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/buildSrc/src/main/groovy/geb.all-sources-configuration.gradle 
b/buildSrc/src/main/groovy/geb.all-sources-configuration.gradle
index 7c39f216..1fca002d 100644
--- a/buildSrc/src/main/groovy/geb.all-sources-configuration.gradle
+++ b/buildSrc/src/main/groovy/geb.all-sources-configuration.gradle
@@ -1,3 +1,21 @@
+/*
+ *  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.
+ */
 configurations {
     allSources
 }
@@ -5,7 +23,7 @@ configurations {
 def allSourcesTask = tasks.register("allSources", Sync) {
     from sourceSets.main.allSource.srcDirs
     from sourceSets.test.allSource.srcDirs
-    into "$buildDir/allSources"
+    into rootProject.layout.buildDirectory.dir('allSources')
 }
 
 artifacts {

Reply via email to