Skip to content

Update Gradle wrapper to 8.14 #126519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
May 6, 2025
Prev Previous commit
Next Next commit
Some cleanup on unused methods
  • Loading branch information
breskeby committed Apr 30, 2025
commit 19825a6da36e44ddf7b7b07f441632ef85f1953b
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public abstract class CopyRestTestsTask extends DefaultTask {
private FileCollection coreConfig;
private FileCollection xpackConfig;
private FileCollection additionalConfig;
private SerializableFunction<FileCollection, FileTree> coreConfigToFileTree = FileCollection::getAsFileTree;
private SerializableCopyRestTestsTaskFunction<FileCollection, FileTree> coreConfigToFileTree = FileCollection::getAsFileTree;
private SerializableFunction<FileCollection, FileTree> xpackConfigToFileTree = FileCollection::getAsFileTree;
private SerializableFunction<FileCollection, FileTree> additionalConfigToFileTree = FileCollection::getAsFileTree;

Expand All @@ -65,9 +65,6 @@ public abstract class CopyRestTestsTask extends DefaultTask {
private final ProjectLayout projectLayout;
private final FileSystemOperations fileSystemOperations;

@Inject
public abstract FileOperations getFileOperations();

@Inject
public CopyRestTestsTask(
ProjectLayout projectLayout,
Expand All @@ -85,16 +82,7 @@ public CopyRestTestsTask(
}

@Inject
protected abstract ProjectLayout getProjectLayout();

@Inject
protected abstract FileSystemOperations getFileSystemOperations();

@Inject
protected abstract ObjectFactory getObjectFactory();

@Inject
protected abstract PatternSetFactory getPatternSetFactory();
public abstract FileOperations getFileOperations();

@Input
public ListProperty<String> getIncludeCore() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
*/
package org.elasticsearch.gradle.test;

import org.gradle.api.provider.Provider;
import org.gradle.api.tasks.Input;
import org.gradle.process.CommandLineArgumentProvider;

Expand Down