mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-19 04:45:07 -04:00
39 lines
1.1 KiB
Groovy
39 lines
1.1 KiB
Groovy
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
apply plugin: 'elasticsearch.internal-es-plugin'
|
|
apply plugin: 'elasticsearch.internal-cluster-test'
|
|
apply plugin: 'elasticsearch.internal-java-rest-test'
|
|
|
|
esplugin {
|
|
name = 'x-pack-analytics'
|
|
description = 'Elasticsearch Expanded Pack Plugin - Analytics'
|
|
classname ='org.elasticsearch.xpack.analytics.AnalyticsPlugin'
|
|
extendedPlugins = ['x-pack-core']
|
|
}
|
|
base {
|
|
archivesName = 'x-pack-analytics'
|
|
}
|
|
|
|
tasks.named('javaRestTest') {
|
|
usesDefaultDistribution()
|
|
}
|
|
|
|
dependencies {
|
|
api 'org.apache.commons:commons-math3:3.6.1'
|
|
compileOnly project(path: xpackModule('core'))
|
|
compileOnly project(":server")
|
|
testImplementation project(path: ':modules:aggregations')
|
|
testImplementation(testArtifact(project(xpackModule('core'))))
|
|
}
|
|
|
|
if (buildParams.snapshotBuild == false) {
|
|
tasks.named("test").configure {
|
|
systemProperty 'es.index_mode_feature_flag_registered', 'true'
|
|
}
|
|
}
|
|
|