class PostProcessingBlock implements ProguardFilesProvider {

    @NonNull
    @Override
    public Collection<File> getProguardFiles(@NonNull ProguardFileType type) {
        switch (type) {
            case EXPLICIT:
                return proguardFiles;
            case TEST:
                return testProguardFiles;
            case CONSUMER:
                return consumerProguardFiles;
            default:
                throw new AssertionError("Invalid ProguardFileType: " + type);
        }
    }

    @Inject public  PostProcessingBlock(@NonNull Project project);
    @VisibleForTesting  PostProcessingBlock(@NonNull Project project, List<File> proguardFiles);

}