Skip to content

Commit

Permalink
[gradle] Use @InputFiles instead of @InputDirectory to avoid crash wh…
Browse files Browse the repository at this point in the history
…en the dir doesn't exist
  • Loading branch information
terrakok committed Mar 20, 2024
1 parent 0d0e133 commit 635b193
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,8 @@ internal abstract class CopyAndroidFontsToAssetsTask : DefaultTask() {
@get:Inject
abstract val fileSystem: FileSystemOperations

@get:InputDirectory
@get:InputFiles
@get:IgnoreEmptyDirectories
abstract val from: Property<File>

@get:OutputDirectory
Expand Down

0 comments on commit 635b193

Please sign in to comment.