mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 01:22:26 -04:00
Remove security manager policy files (#127727)
Now that security manager is gone, the policy files are no longer needed. This commit removes the server, test and plugin specific policy files
This commit is contained in:
parent
e3b000efba
commit
22a52a9c64
63 changed files with 3 additions and 700 deletions
|
@ -183,11 +183,7 @@ public class BasePluginBuildPlugin implements Plugin<Project> {
|
|||
) {
|
||||
var bundleSpec = project.copySpec();
|
||||
bundleSpec.from(buildProperties);
|
||||
bundleSpec.from(pluginMetadata, copySpec -> {
|
||||
// metadata (eg custom security policy)
|
||||
// the codebases properties file is only for tests and not needed in production
|
||||
copySpec.exclude("plugin-security.codebases");
|
||||
});
|
||||
bundleSpec.from(pluginMetadata);
|
||||
bundleSpec.from(
|
||||
(Callable<TaskProvider<Task>>) () -> project.getPluginManager().hasPlugin("com.gradleup.shadow")
|
||||
? project.getTasks().named("shadowJar")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue