18 lines
458 B
Groovy
18 lines
458 B
Groovy
|
|
import org.elasticsearch.gradle.internal.info.BuildParams
|
|
|
|
subprojects {
|
|
apply plugin: 'elasticsearch.base-internal-es-plugin'
|
|
apply plugin: 'elasticsearch.legacy-yaml-rest-test'
|
|
|
|
esplugin {
|
|
name it.name
|
|
licenseFile rootProject.file('licenses/SSPL-1.0+ELASTIC-LICENSE-2.0.txt')
|
|
noticeFile rootProject.file('NOTICE.txt')
|
|
}
|
|
|
|
tasks.named('yamlRestTest').configure {
|
|
it.onlyIf("snapshot build") { BuildParams.isSnapshotBuild() }
|
|
}
|
|
}
|