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:
parent
d0f767a20a
commit
9a2ae4b7f2
|
@ -319,7 +319,7 @@ configurations {
|
|||
testArtifacts.extendsFrom testRuntime
|
||||
}
|
||||
task testJar(type: Jar) {
|
||||
classifier "test"
|
||||
appendix 'test'
|
||||
from sourceSets.test.output
|
||||
}
|
||||
artifacts {
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue