Class ConfigUtil
- java.lang.Object
-
- io.freefair.gradle.plugins.lombok.internal.ConfigUtil
-
public final class ConfigUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TaskProvider<LombokConfig>
getLombokConfigTask(Project project, SourceSet sourceSet)
static Map<File,TaskProvider<LombokConfig>>
getLombokConfigTasks(Project project, String sourceSetName, Set<File> srcDirs)
Deprecated.static boolean
isDisableConfig(Project project)
static Set<File>
resolveConfigFilesForPath(File path)
Resolves the Set of configuration files which lombok would use for the given path.
-
-
-
Method Detail
-
getLombokConfigTasks
@Deprecated public static Map<File,TaskProvider<LombokConfig>> getLombokConfigTasks(Project project, String sourceSetName, Set<File> srcDirs)
Deprecated.
-
getLombokConfigTask
public static TaskProvider<LombokConfig> getLombokConfigTask(Project project, SourceSet sourceSet)
-
isDisableConfig
public static boolean isDisableConfig(Project project)
-
resolveConfigFilesForPath
@Nullable public static Set<File> resolveConfigFilesForPath(File path) throws IOException
Resolves the Set of configuration files which lombok would use for the given path.May return null, if imports are used within the files which could not be resolved.
- Throws:
IOException
-
-