Skip to content

Commit

Permalink
Made tasks cache relocatable
Browse files Browse the repository at this point in the history
Resolves #85
  • Loading branch information
shanshin committed Dec 22, 2021
1 parent c9be72a commit 15927ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/kotlinx/kover/tasks/KoverAggregateTask.kt
Expand Up @@ -79,6 +79,6 @@ open class KoverAggregateTask : DefaultTask() {

class NestedFiles(objects: ObjectFactory, files: Provider<FileCollection>) {
@get:InputFiles
@get:PathSensitive(PathSensitivity.ABSOLUTE)
@get:PathSensitive(PathSensitivity.RELATIVE)
val files: Property<FileCollection> = objects.property(FileCollection::class.java).also { it.set(files) }
}
6 changes: 3 additions & 3 deletions src/main/kotlin/kotlinx/kover/tasks/KoverModuleTask.kt
Expand Up @@ -15,15 +15,15 @@ import org.gradle.api.tasks.*

abstract class KoverModuleTask : DefaultTask() {
@get:InputFiles
@get:PathSensitive(PathSensitivity.ABSOLUTE)
@get:PathSensitive(PathSensitivity.RELATIVE)
val binaryReportFiles: Property<FileCollection> = project.objects.property(FileCollection::class.java)

@get:InputFiles
@get:PathSensitive(PathSensitivity.ABSOLUTE)
@get:PathSensitive(PathSensitivity.RELATIVE)
val smapFiles: Property<FileCollection> = project.objects.property(FileCollection::class.java)

@get:InputFiles
@get:PathSensitive(PathSensitivity.ABSOLUTE)
@get:PathSensitive(PathSensitivity.RELATIVE)
val srcDirs: Property<FileCollection> = project.objects.property(FileCollection::class.java)

@get:Classpath
Expand Down

0 comments on commit 15927ef

Please sign in to comment.