apply plugin: 'elasticsearch.esplugin' esplugin { name 'x-pack-deprecation' description 'Elasticsearch Expanded Pack Plugin - Deprecation' classname 'org.elasticsearch.xpack.deprecation.Deprecation' extendedPlugins = ['x-pack-core'] } archivesBaseName = 'x-pack-deprecation' // add all sub-projects of the qa sub-project gradle.projectsEvaluated { project.subprojects .find { it.path == project.path + ":qa" } .subprojects .findAll { it.path.startsWith(project.path + ":qa") } .each { check.dependsOn it.check } } dependencies { compileOnly project(":x-pack:plugin:core") }