mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
Replace compile configuration usage with api (7.x backport) (#58721)
* Replace compile configuration usage with api (#58451) - Use java-library instead of plugin to allow api configuration usage - Remove explicit references to runtime configurations in dependency declarations - Make test runtime classpath input for testing convention - required as java library will by default not have build jar file - jar file is now explicit input of the task and gradle will ensure its properly build * Fix compile usages in 7.x branch
This commit is contained in:
parent
19190c529c
commit
d952b101e6
125 changed files with 635 additions and 620 deletions
|
@ -29,15 +29,15 @@ versions << [
|
|||
]
|
||||
|
||||
dependencies {
|
||||
compile "com.amazonaws:aws-java-sdk-ec2:${versions.aws}"
|
||||
compile "com.amazonaws:aws-java-sdk-core:${versions.aws}"
|
||||
compile "org.apache.httpcomponents:httpclient:${versions.httpclient}"
|
||||
compile "org.apache.httpcomponents:httpcore:${versions.httpcore}"
|
||||
compile "commons-logging:commons-logging:${versions.commonslogging}"
|
||||
compile "org.apache.logging.log4j:log4j-1.2-api:${versions.log4j}"
|
||||
compile "commons-codec:commons-codec:${versions.commonscodec}"
|
||||
compile "com.fasterxml.jackson.core:jackson-databind:${versions.jackson}"
|
||||
compile "com.fasterxml.jackson.core:jackson-annotations:${versions.jackson}"
|
||||
api "com.amazonaws:aws-java-sdk-ec2:${versions.aws}"
|
||||
api "com.amazonaws:aws-java-sdk-core:${versions.aws}"
|
||||
api "org.apache.httpcomponents:httpclient:${versions.httpclient}"
|
||||
api "org.apache.httpcomponents:httpcore:${versions.httpcore}"
|
||||
api "commons-logging:commons-logging:${versions.commonslogging}"
|
||||
api "org.apache.logging.log4j:log4j-1.2-api:${versions.log4j}"
|
||||
api "commons-codec:commons-codec:${versions.commonscodec}"
|
||||
api "com.fasterxml.jackson.core:jackson-databind:${versions.jackson}"
|
||||
api "com.fasterxml.jackson.core:jackson-annotations:${versions.jackson}"
|
||||
}
|
||||
|
||||
restResources {
|
||||
|
|
|
@ -29,7 +29,7 @@ apply plugin: 'elasticsearch.standalone-rest-test'
|
|||
apply plugin: 'elasticsearch.rest-test'
|
||||
|
||||
dependencies {
|
||||
testImplementation project(path: ':plugins:discovery-ec2', configuration: 'runtime')
|
||||
testImplementation project(':plugins:discovery-ec2')
|
||||
}
|
||||
|
||||
restResources {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue