mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
feat: add default value to method
This commit is contained in:
+1
-1
@@ -161,7 +161,7 @@ abstract class ReactExtension @Inject constructor(val project: Project) {
|
||||
*
|
||||
* @param method The method to use for linking dependencies. By default, it is `implementation`.
|
||||
*/
|
||||
fun autolinkLibrariesWithApp(method: String?) {
|
||||
fun autolinkLibrariesWithApp(method: String? = "implementation") {
|
||||
val inputFile =
|
||||
project.rootProject.layout.buildDirectory
|
||||
.file("generated/autolinking/autolinking.json")
|
||||
|
||||
Reference in New Issue
Block a user