2017-01-26 07:09:25 +08:00
|
|
|
/*
|
2021-02-03 05:41:39 +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".
|
2017-01-26 07:09:25 +08:00
|
|
|
*/
|
2019-09-11 23:24:32 +08:00
|
|
|
|
|
|
|
import org.elasticsearch.gradle.PropertyNormalization
|
2017-01-26 07:09:25 +08:00
|
|
|
|
2023-12-01 18:23:53 +08:00
|
|
|
apply plugin: 'elasticsearch.internal-yaml-rest-test'
|
2020-07-14 00:32:42 +08:00
|
|
|
apply plugin: 'elasticsearch.internal-cluster-test'
|
2021-03-26 22:23:44 +08:00
|
|
|
|
2017-01-26 07:09:25 +08:00
|
|
|
esplugin {
|
2024-12-30 22:34:24 +08:00
|
|
|
description = 'Module for URL repository'
|
|
|
|
classname ='org.elasticsearch.plugin.repository.url.URLRepositoryPlugin'
|
2017-01-26 07:09:25 +08:00
|
|
|
}
|
|
|
|
|
2020-03-18 22:09:29 +08:00
|
|
|
restResources {
|
|
|
|
restApi {
|
2021-03-27 07:20:14 +08:00
|
|
|
include '_common', 'cluster', 'nodes', 'indices', 'index', 'bulk', 'count', 'snapshot'
|
2020-03-18 22:09:29 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-08 20:14:12 +08:00
|
|
|
dependencies {
|
|
|
|
api "org.apache.httpcomponents:httpclient:${versions.httpclient}"
|
|
|
|
api "org.apache.httpcomponents:httpcore:${versions.httpcore}"
|
|
|
|
api "commons-logging:commons-logging:${versions.commonslogging}"
|
|
|
|
api "commons-codec:commons-codec:${versions.commonscodec}"
|
|
|
|
api "org.apache.logging.log4j:log4j-1.2-api:${versions.log4j}"
|
2023-12-01 18:23:53 +08:00
|
|
|
yamlRestTestImplementation project(':test:fixtures:url-fixture')
|
2025-04-15 19:57:00 +08:00
|
|
|
yamlRestTestImplementation project(':modules:repository-url')
|
2021-03-08 20:14:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named("thirdPartyAudit").configure {
|
|
|
|
ignoreMissingClasses(
|
|
|
|
'javax.servlet.ServletContextEvent',
|
|
|
|
'javax.servlet.ServletContextListener',
|
|
|
|
'org.apache.avalon.framework.logger.Logger',
|
|
|
|
'org.apache.log.Hierarchy',
|
2021-12-15 21:31:30 +08:00
|
|
|
'org.apache.log.Logger',
|
|
|
|
'javax.jms.Message'
|
2021-03-08 20:14:12 +08:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|