2021-03-21 20:56:34 -05:00

18 lines
394 B
Groovy

import org.elasticsearch.gradle.info.BuildParams;
subprojects {
apply plugin: 'opensearch.esplugin'
apply plugin: 'opensearch.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() }
}
}