mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 13:38:49 +00:00
5b7246157f
This commit address some build failures from the perspective of Intellij. These changes include: * changing an order of a dependency definition that seems to can cause Intellij build to fail. * introduction of an abstract class out of the test source set (seems to be an issue sharing classes cross projects with non-standard source sets. * a couple of missing dependency definitions (not sure how the command line worked prior to this)
32 lines
800 B
Groovy
32 lines
800 B
Groovy
import org.elasticsearch.gradle.util.GradleUtils
|
|
|
|
apply plugin: 'elasticsearch.esplugin'
|
|
apply plugin: 'elasticsearch.java-rest-test'
|
|
|
|
esplugin {
|
|
description 'Deprecated query plugin'
|
|
classname 'org.elasticsearch.xpack.deprecation.TestDeprecationPlugin'
|
|
}
|
|
|
|
dependencies {
|
|
javaRestTestImplementation("com.fasterxml.jackson.core:jackson-annotations:${versions.jackson}")
|
|
javaRestTestImplementation("com.fasterxml.jackson.core:jackson-databind:${versions.jackson}")
|
|
}
|
|
|
|
// let the javaRestTest see the classpath of main
|
|
GradleUtils.extendSourceSet(project, "main", "javaRestTest", javaRestTest)
|
|
|
|
|
|
restResources {
|
|
restApi {
|
|
includeCore '_common', 'indices', 'index'
|
|
}
|
|
}
|
|
|
|
testClusters.all {
|
|
testDistribution = 'DEFAULT'
|
|
setting 'xpack.security.enabled', 'false'
|
|
}
|
|
|
|
test.enabled = false
|