Skip to content

Commit 186d813

Browse files
authored
Add Searchable Snapshots plugin project (#50022)
This commit adds a new (almost empty) Gradle project for the Searchable Snapshots plugin in x-pack.
1 parent fcae55a commit 186d813

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
evaluationDependsOn(xpackModule('core'))
2+
3+
apply plugin: 'elasticsearch.esplugin'
4+
esplugin {
5+
name 'searchable-snapshots'
6+
description 'A plugin for the searchable snapshots functionality'
7+
classname 'org.elasticsearch.xpack.searchablesnapshots.SearchableSnapshots'
8+
extendedPlugins = ['x-pack-core']
9+
}
10+
archivesBaseName = 'x-pack-searchable-snapshots'
11+
12+
dependencies {
13+
compileOnly project(path: xpackModule('core'), configuration: 'default')
14+
testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
15+
}
16+
17+
// xpack modules are installed in real clusters as the meta plugin, so
18+
// installing them as individual plugins for integ tests doesn't make sense,
19+
// so we disable integ tests
20+
integTest.enabled = false
21+
22+
test.enabled = false
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3+
* or more contributor license agreements. Licensed under the Elastic License;
4+
* you may not use this file except in compliance with the Elastic License.
5+
*/
6+
package org.elasticsearch.xpack.searchablesnapshots;
7+
8+
import org.elasticsearch.plugins.Plugin;
9+
10+
/**
11+
* Plugin for Searchable Snapshots feature
12+
*/
13+
public class SearchableSnapshots extends Plugin {
14+
15+
}

0 commit comments

Comments
 (0)