forked from AmiStrn/example-rest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
39 lines (32 loc) · 939 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'opensearch.opensearchplugin'
apply plugin: 'opensearch.yaml-rest-test'
opensearchplugin {
name 'opensearch-rest-plugin'
description 'Custom OpenSearch REST plugin for educational purposes'
classname 'org.opensearch.rest.action.HelloWorldPlugin'
licenseFile rootProject.file('LICENSE.txt')
noticeFile rootProject.file('NOTICE.txt')
}
// disabling some unnecessary validations for this plugin
testingConventions.enabled = false
loggerUsageCheck.enabled = false
validateNebulaPom.enabled = false
buildscript {
repositories {
mavenCentral()
jcenter()
mavenLocal()
}
dependencies {
classpath "org.opensearch.gradle:build-tools:1.0.0-beta1"
}
}
repositories {
mavenLocal()
}
dependencies {
// required for the yaml test to run
yamlRestTestImplementation 'org.apache.logging.log4j:log4j-core:2.11.1'
}