Browse Source

[gradle] Use @InputFiles instead of @InputDirectory to avoid crash when the dir doesn't exist

pull/4526/head v1.6.10-dev1523
Konstantin Tskhovrebov 9 months ago
parent
commit
635b1939e7
  1. 3
      gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/resources/ResourcesGenerator.kt

3
gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/resources/ResourcesGenerator.kt

@ -359,7 +359,8 @@ internal abstract class CopyAndroidFontsToAssetsTask : DefaultTask() {
@get:Inject @get:Inject
abstract val fileSystem: FileSystemOperations abstract val fileSystem: FileSystemOperations
@get:InputDirectory @get:InputFiles
@get:IgnoreEmptyDirectories
abstract val from: Property<File> abstract val from: Property<File>
@get:OutputDirectory @get:OutputDirectory

Loading…
Cancel
Save