Class ConfigUtil
- java.lang.Object
-
- io.freefair.gradle.plugins.lombok.internal.ConfigUtil
-
public final class ConfigUtil extends java.lang.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 java.util.Map<java.io.File,TaskProvider<LombokConfig>>
getLombokConfigTasks(Project project, java.lang.String sourceSetName, java.util.Set<java.io.File> srcDirs)
Deprecated.static boolean
isDisableConfig(Project project)
static java.util.Set<java.io.File>
resolveConfigFilesForPath(java.io.File path)
Resolves the Set of configuration files which lombok would use for the given path.
-
-
-
Method Detail
-
getLombokConfigTasks
@Deprecated public static java.util.Map<java.io.File,TaskProvider<LombokConfig>> getLombokConfigTasks(Project project, java.lang.String sourceSetName, java.util.Set<java.io.File> srcDirs)
Deprecated.
-
getLombokConfigTask
public static TaskProvider<LombokConfig> getLombokConfigTask(Project project, SourceSet sourceSet)
-
isDisableConfig
public static boolean isDisableConfig(Project project)
-
resolveConfigFilesForPath
@Nullable public static java.util.Set<java.io.File> resolveConfigFilesForPath(java.io.File path) throws java.io.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:
java.io.IOException
-
-