2020-09-04 19:34:55 -04:00
|
|
|
|
2020-09-17 16:07:40 -04:00
|
|
|
import org.elasticsearch.gradle.info.BuildParams;
|
|
|
|
|
2020-09-04 19:34:55 -04:00
|
|
|
subprojects {
|
|
|
|
apply plugin: 'elasticsearch.esplugin'
|
2020-09-17 16:07:40 -04:00
|
|
|
apply plugin: 'elasticsearch.yaml-rest-test'
|
2020-09-04 19:34:55 -04:00
|
|
|
|
|
|
|
esplugin {
|
|
|
|
name it.name
|
|
|
|
licenseFile rootProject.file('licenses/APACHE-LICENSE-2.0.txt')
|
|
|
|
noticeFile rootProject.file('NOTICE.txt')
|
|
|
|
}
|
2020-09-17 16:07:40 -04:00
|
|
|
|
|
|
|
tasks.named('yamlRestTest').configure {
|
|
|
|
it.onlyIf { BuildParams.isSnapshotBuild() }
|
|
|
|
}
|
2020-09-04 19:34:55 -04:00
|
|
|
}
|