mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
35 lines
1.2 KiB
Groovy
35 lines
1.2 KiB
Groovy
/*
|
|
* 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public
|
|
* License v3.0 only", 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:core')
|
|
api project(':libs:plugin-api')
|
|
api project(":libs:x-content")
|
|
|
|
api 'org.ow2.asm:asm:9.7.1'
|
|
api 'org.ow2.asm:asm-tree:9.7.1'
|
|
|
|
testImplementation "junit:junit:${versions.junit}"
|
|
testImplementation(project(":test:framework")) {
|
|
exclude group: 'org.elasticsearch', module: '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'
|
|
}
|
|
|