Update security policy to use versionless codebase properties (elastic/x-pack-elasticsearch#2602)

This is the xpack side of
https://github.com/elastic/elasticsearch/pull/26756

Original commit: elastic/x-pack-elasticsearch@a219f5b6c0
This commit is contained in:
Ryan Ernst 2017-11-10 11:00:34 -08:00 committed by GitHub
parent d0f767a20a
commit 9a2ae4b7f2
2 changed files with 2 additions and 2 deletions

View File

@ -319,7 +319,7 @@ configurations {
testArtifacts.extendsFrom testRuntime
}
task testJar(type: Jar) {
classifier "test"
appendix 'test'
from sourceSets.test.output
}
artifacts {

View File

@ -37,7 +37,7 @@ grant codeBase "${codebase.elasticsearch-rest-client}" {
permission java.net.NetPermission "getProxySelector";
};
grant codeBase "${codebase.httpasyncclient-4.1.2.jar}" {
grant codeBase "${codebase.httpasyncclient}" {
// rest client uses system properties which gets the default proxy
permission java.net.NetPermission "getProxySelector";
};