docs: private String getSourceSetNameFromFile(File file) {
      Path absolutePath = Paths.get(file.getAbsolutePath());
      Path basePath = Paths.get(task.getProject().file("src").getAbsolutePath());
  
      return basePath.relativize(absolutePath).toString().split(Matcher.quoteReplacement(File.separator))[0];
    }