avoid too-long classpath so it works on windows
This commit is contained in:
parent
7065639a26
commit
2cbfc54a81
|
@ -64,8 +64,8 @@ dependencyLicenses {
|
||||||
task hdfsFixture(type: org.elasticsearch.gradle.test.Fixture) {
|
task hdfsFixture(type: org.elasticsearch.gradle.test.Fixture) {
|
||||||
dependsOn project.configurations.hdfsFixture
|
dependsOn project.configurations.hdfsFixture
|
||||||
executable = new File(project.javaHome, 'bin/java')
|
executable = new File(project.javaHome, 'bin/java')
|
||||||
args '-cp', "${ -> project.configurations.hdfsFixture.asPath }",
|
env 'CLASSPATH', "${ -> project.configurations.hdfsFixture.asPath }"
|
||||||
'hdfs.MiniHDFS',
|
args 'hdfs.MiniHDFS',
|
||||||
baseDir
|
baseDir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue