if (project.name != 'x-plugins') { throw new GradleException('You must checkout x-plugins to a directory named x-plugins') } if (project.projectDir.parentFile.name != 'extra-plugins') { throw new GradleException('You must place the x-plugins checkout in a directory named extra-plugins') } if (project.rootProject.projectDir != project.projectDir.parentFile.parentFile) { throw new GradleException('You must place the extra-plugins directory inside the root of an elasticsearch checkout') } /* elasticsearch-releases http://maven.elasticsearch.org/releases true daily false elasticsearch-internal-snapshots http://maven.elasticsearch.org/artifactory/internal-snapshots false true always */ /* subprojects { task artifacts { group = "Help" description = "Displays the artifacts associated with each configuration of " + project doFirst { configurations.findAll().each { config -> println "${config}:" config.allArtifacts.getFiles().each { file -> println "" + file} println ' ' } } } } */