Fix some typos in error messages in the build
This commit is contained in:
parent
ddb93946aa
commit
4df2e182bf
|
@ -39,7 +39,7 @@ public class RestTestPlugin implements Plugin<Project> {
|
||||||
if (false == REQUIRED_PLUGINS.any {project.pluginManager.hasPlugin(it)}) {
|
if (false == REQUIRED_PLUGINS.any {project.pluginManager.hasPlugin(it)}) {
|
||||||
throw new InvalidUserDataException('elasticsearch.rest-test '
|
throw new InvalidUserDataException('elasticsearch.rest-test '
|
||||||
+ 'requires either elasticsearch.build or '
|
+ 'requires either elasticsearch.build or '
|
||||||
+ 'elasticsearch.standalone-test')
|
+ 'elasticsearch.standalone-rest-test')
|
||||||
}
|
}
|
||||||
|
|
||||||
RestIntegTestTask integTest = project.tasks.create('integTest', RestIntegTestTask.class)
|
RestIntegTestTask integTest = project.tasks.create('integTest', RestIntegTestTask.class)
|
||||||
|
|
|
@ -40,9 +40,9 @@ public class StandaloneRestTestPlugin implements Plugin<Project> {
|
||||||
@Override
|
@Override
|
||||||
public void apply(Project project) {
|
public void apply(Project project) {
|
||||||
if (project.pluginManager.hasPlugin('elasticsearch.build')) {
|
if (project.pluginManager.hasPlugin('elasticsearch.build')) {
|
||||||
throw new InvalidUserDataException('elasticsearch.standalone-test, '
|
throw new InvalidUserDataException('elasticsearch.standalone-test '
|
||||||
+ 'elasticsearch.standalone-test, and elasticsearch.build are '
|
+ 'elasticsearch.standalone-rest-test, and elasticsearch.build '
|
||||||
+ 'mutually exclusive')
|
+ 'are mutually exclusive')
|
||||||
}
|
}
|
||||||
project.pluginManager.apply(JavaBasePlugin)
|
project.pluginManager.apply(JavaBasePlugin)
|
||||||
project.pluginManager.apply(RandomizedTestingPlugin)
|
project.pluginManager.apply(RandomizedTestingPlugin)
|
||||||
|
|
Loading…
Reference in New Issue