You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit efb85fd
Browse filesBrowse the repository at this point in the historyBrowse files
PreparePrefabHeadersTask declared only the directory paths it copies
from, so Gradle found it up to date after a header under them changed
and the prefab package every app and library compiles against kept the
old header. The headers it copies are now its input files, read through
the same file trees the copy uses, and each library's folder is rebuilt
from scratch so a removed header leaves no copy behind.
Copy file name to clipboardExpand all lines: packages/gradle-plugin/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/tasks/internal/PreparePrefabHeadersTask.kt
+51-27Lines changed: 51 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,14 @@ import java.io.File
12
12
importjavax.inject.Inject
13
13
importorg.gradle.api.DefaultTask
14
14
importorg.gradle.api.file.DirectoryProperty
15
+
importorg.gradle.api.file.FileCollection
15
16
importorg.gradle.api.file.FileSystemOperations
17
+
importorg.gradle.api.file.FileTree
16
18
importorg.gradle.api.file.RegularFile
19
+
importorg.gradle.api.model.ObjectFactory
17
20
importorg.gradle.api.provider.ListProperty
18
21
importorg.gradle.api.tasks.Input
22
+
importorg.gradle.api.tasks.InputFiles
19
23
importorg.gradle.api.tasks.OutputDirectory
20
24
importorg.gradle.api.tasks.TaskAction
21
25
@@ -35,44 +39,64 @@ abstract class PreparePrefabHeadersTask : DefaultTask() {
0 commit comments