elasticsearch/libs/plugin-scanner/build.gradle

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
1.1 KiB
Groovy
Raw Normal View History

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
apply plugin: 'elasticsearch.publish'
tasks.named("jarHell").configure { enabled = false }
tasks.named("dependencyLicenses").configure {
mapping from: /asm-.*/, to: 'asm'
}
dependencies {
api project(':libs:elasticsearch-core')
api project(':libs:elasticsearch-plugin-api')
api project(":libs:elasticsearch-x-content")
api 'org.ow2.asm:asm:9.7'
api 'org.ow2.asm:asm-tree:9.7'
testImplementation "junit:junit:${versions.junit}"
testImplementation(project(":test:framework")) {
exclude group: 'org.elasticsearch', module: 'elasticsearch-plugin-scanner'
}
}
tasks.named('forbiddenApisMain').configure {
// TODO: Need to decide how we want to handle for forbidden signatures with the changes to core
replaceSignatureFiles 'jdk-signatures'
}