OpenSearch/test/external-modules/build.gradle

18 lines
400 B
Groovy
Raw Normal View History

import org.elasticsearch.gradle.info.BuildParams;
subprojects {
apply plugin: 'elasticsearch.esplugin'
apply plugin: 'elasticsearch.yaml-rest-test'
esplugin {
name it.name
licenseFile rootProject.file('licenses/APACHE-LICENSE-2.0.txt')
noticeFile rootProject.file('NOTICE.txt')
}
tasks.named('yamlRestTest').configure {
it.onlyIf { BuildParams.isSnapshotBuild() }
}
}