Skip to content

Commit

Permalink
Update getScopedArtifacts with PathSensitive
Browse files Browse the repository at this point in the history
Bug: N/A
Test: existing tests
Change-Id: I941d5c8b952da7c2f495843770436593f0d1db46
  • Loading branch information
ducrohet committed Mar 4, 2024
1 parent 5d4a850 commit 506ce83
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ import org.gradle.api.file.RegularFile
import org.gradle.api.provider.ListProperty
import org.gradle.api.tasks.InputFiles
import org.gradle.api.tasks.OutputDirectory
import org.gradle.api.tasks.PathSensitive
import org.gradle.api.tasks.PathSensitivity
import org.gradle.api.tasks.TaskAction
import java.io.File
import java.lang.RuntimeException
Expand All @@ -40,24 +42,28 @@ abstract class CheckClassesTask: DefaultTask() {
* Project scope, not including dependencies.
*/
@get:InputFiles
@get:PathSensitive(PathSensitivity.RELATIVE)
abstract val projectDirectories: ListProperty<Directory>

/**
* Project scope, not including dependencies.
*/
@get:InputFiles
@get:PathSensitive(PathSensitivity.NONE)
abstract val projectJars: ListProperty<RegularFile>

/**
* Full scope, including project scope and all dependencies.
*/
@get:InputFiles
@get:PathSensitive(PathSensitivity.RELATIVE)
abstract val allDirectories: ListProperty<Directory>

/**
* Full scope, including project scope and all dependencies.
*/
@get:InputFiles
@get:PathSensitive(PathSensitivity.NONE)
abstract val allJars: ListProperty<RegularFile>

/**
Expand Down

0 comments on commit 506ce83

Please sign in to comment.