Skip to content

Commit

Permalink
Avoid cache misses.
Browse files Browse the repository at this point in the history
  • Loading branch information
felipefzdz committed Sep 3, 2021
1 parent c3d0d49 commit ba2a8a6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To use the Shellcheck plugin, include the following in your build script:
[source,kotlin]
----
plugins {
id("com.felipefzdz.gradle.shellcheck") version "1.4.5"
id("com.felipefzdz.gradle.shellcheck") version "1.4.6"
}
----

Expand Down
2 changes: 1 addition & 1 deletion shellcheck/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = "com.felipefzdz.gradle.shellcheck"
version = "1.4.5"
version = "1.4.6"

java {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,7 @@
import org.gradle.api.internal.ConventionTask;
import org.gradle.api.model.ObjectFactory;
import org.gradle.api.reporting.Reporting;
import org.gradle.api.tasks.CacheableTask;
import org.gradle.api.tasks.Console;
import org.gradle.api.tasks.Input;
import org.gradle.api.tasks.InputFiles;
import org.gradle.api.tasks.Internal;
import org.gradle.api.tasks.Nested;
import org.gradle.api.tasks.PathSensitive;
import org.gradle.api.tasks.PathSensitivity;
import org.gradle.api.tasks.TaskAction;
import org.gradle.api.tasks.Optional;
import org.gradle.api.tasks.VerificationTask;
import org.gradle.api.tasks.*;
import org.gradle.util.ClosureBackedAction;

import javax.inject.Inject;
Expand Down Expand Up @@ -56,6 +46,7 @@ public void run() {

@InputFiles
@PathSensitive(PathSensitivity.RELATIVE)
@IgnoreEmptyDirectories
@Optional
public FileCollection getSources() {
return sources;
Expand Down

0 comments on commit ba2a8a6

Please sign in to comment.