Temporary fix for broken build
x-pack/sql depends on lang-painless which depends on ASM 5.1 FeatureAwareCheck needs ASM 6 This is a hack to strip ASM5 from the classpath for FeatureAwareCheck
This commit is contained in:
parent
4d7447cb5e
commit
89a24698b1
|
@ -43,7 +43,9 @@ subprojects {
|
|||
final FileCollection classDirectories = project.files(files).filter { it.exists() }
|
||||
|
||||
doFirst {
|
||||
args('-cp', project.configurations.featureAwarePlugin.asPath, 'org.elasticsearch.xpack.test.feature_aware.FeatureAwareCheck')
|
||||
String cp = project.configurations.featureAwarePlugin.asPath
|
||||
cp = cp.replaceAll(":[^:]*/asm-debug-all-5.1.jar:", ":")
|
||||
args('-cp', cp, 'org.elasticsearch.xpack.test.feature_aware.FeatureAwareCheck')
|
||||
classDirectories.each { args it.getAbsolutePath() }
|
||||
}
|
||||
doLast {
|
||||
|
|
Loading…
Reference in New Issue