Skip to content

Commit

Permalink
Fix outdated check for GenerateZincCircuitsTask
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbos committed Nov 9, 2022
1 parent 05b4cf3 commit 1c261e2
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@ open class GenerateZincCircuitsTask : DefaultTask() {
@Suppress("unused")
val sourceInputs: ConfigurableFileTree = project.fileTree("src")

// NOTE: Must be public for the @InputDirectory to be recognized
@InputDirectory
val generatedKspResources: File = project.buildDir.resolve("generated/ksp/main/resources")

// NOTE: Must be public for the @OutputDirectory to be recognized
@OutputDirectory
val generatedKspResources: File = project.buildDir.resolve("generated/ksp/main/resources")
@Suppress("unused")
val generatedZincSources: File = project.buildDir.resolve("zinc")

@TaskAction
@Suppress("SpreadOperator")
Expand Down

0 comments on commit 1c261e2

Please sign in to comment.