apply plugin: 'elasticsearch.build' dependencies { compile "org.elasticsearch:elasticsearch:${version}" testCompile "org.elasticsearch.test:framework:${version}" } dependencyLicenses.enabled = false jar { baseName = 'license-core' } modifyPom { project { artifactId 'license-core' } }