Commit 8a8f1b8
Update file paths to use rootProject reference (#55992)
Summary:
A recent commit created a regression in what can be done with `build.gradle.kts` by what looks like non intentional usage of File() over rootProject.file().
It is very useful for out-of-tree platforms (such as my react native for unreal engine) to be able to wrap this build gradle file, and using File() breaks things because it breaks lookup in that use case.
This PR fixes this unintentional regression by using `rootProject.file`, as it is used elsewhere in this file.
## Changelog:
Changed `File()` to `rootProject.file()` in lines introduced by new commit (076e6a1)
Pick one each for the category and type tags:
[GENERAL] [FIXED] - Fix build regression by using rootProject.file
Pull Request resolved: #55992
Test Plan: Build project as usual.
Reviewed By: NickGerleman
Differential Revision: D95823119
Pulled By: cortinico
fbshipit-source-id: 6882802439c3683d3cc7507e55bb3513e2300ecc1 parent 3612f53 commit 8a8f1b8
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
0 commit comments