mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 05:28:34 +00:00
ede62d722f
The tests don't make sense for release builds. closes #62435
18 lines
400 B
Groovy
18 lines
400 B
Groovy
|
|
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() }
|
|
}
|
|
}
|