diff --git a/focus-gradle-plugin/src/main/kotlin/com/dropbox/focus/ClearFocusTask.kt b/focus-gradle-plugin/src/main/kotlin/com/dropbox/focus/ClearFocusTask.kt index e8a90b3..f1eab98 100644 --- a/focus-gradle-plugin/src/main/kotlin/com/dropbox/focus/ClearFocusTask.kt +++ b/focus-gradle-plugin/src/main/kotlin/com/dropbox/focus/ClearFocusTask.kt @@ -5,13 +5,16 @@ import org.gradle.api.DefaultTask import org.gradle.api.file.RegularFileProperty import org.gradle.api.provider.Provider import org.gradle.api.tasks.CacheableTask -import org.gradle.api.tasks.Input +import org.gradle.api.tasks.InputFile +import org.gradle.api.tasks.PathSensitive +import org.gradle.api.tasks.PathSensitivity import org.gradle.api.tasks.TaskAction @CacheableTask public abstract class ClearFocusTask : DefaultTask() { - @get:Input + @get:PathSensitive(PathSensitivity.RELATIVE) + @get:InputFile public abstract val focusFile: RegularFileProperty @TaskAction