code: private void configureArchiveTask(AbstractArchiveTask archiveTask) {
      if (archiveTask == null) {
        return;
      }
      archiveTask.dependsOn("_createSourceContext");
      archiveTask.from(extension.getOutputDirectory(), copySpec -> copySpec.into("WEB-INF/classes"));
    }
docs: inject source-context into the META-INF directory of a jar or war