parent
27ae9a1435
commit
1ec89f75dc
|
@ -3,6 +3,7 @@ package org.elasticsearch.gradle.testclusters;
|
|||
import org.gradle.api.logging.Logger;
|
||||
import org.gradle.api.logging.Logging;
|
||||
import org.gradle.api.tasks.Input;
|
||||
import org.gradle.api.tasks.Optional;
|
||||
import org.gradle.api.tasks.TaskAction;
|
||||
import org.gradle.api.tasks.options.Option;
|
||||
|
||||
|
@ -49,7 +50,9 @@ public class RunTask extends DefaultTestClustersTask {
|
|||
}
|
||||
|
||||
@Input
|
||||
@Optional
|
||||
public String getDataDir() {
|
||||
if (dataDir == null) { return null;}
|
||||
return dataDir.toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue