2023-01-09 22:25:54 +08:00
|
|
|
/*
|
|
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
2024-09-14 04:28:03 +08:00
|
|
|
* 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".
|
2023-01-09 22:25:54 +08:00
|
|
|
*/
|
|
|
|
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")
|
|
|
|
|
2024-05-20 23:56:23 +08:00
|
|
|
api 'org.ow2.asm:asm:9.7'
|
|
|
|
api 'org.ow2.asm:asm-tree:9.7'
|
2023-01-09 22:25:54 +08:00
|
|
|
|
|
|
|
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'
|
|
|
|
}
|
|
|
|
|