Skip to content

Commit

Permalink
Update docs/new-architecture-library-android.md
Browse files Browse the repository at this point in the history
Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>
  • Loading branch information
cortinico and Simek committed Mar 10, 2022
1 parent b12baad commit 816a9cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/new-architecture-library-android.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ All the arguments are **optional** and provide **default values**, you might wan
- `codegenJavaPackageName`: A string that represents the Java package your code should use. By default this will be `com.facebook.fbreact.specs` but you might want to customize it.
- `root`: Reference to the root of your project. By default is `..` as Gradle is running inside the `./android` folder.
- `reactNativeDir`: Reference to the `react-native` package root. Usually located inside `../node_modules/react-native`. For third-party NPM libraries that are installed in `node_modules`, this will be `../react-native`.
- `jsRootDir`: Reference to the directory that contains the JavaScript specs for this library. By default is `../js/`
- `codegenDir`: Reference to the `react-native-codegen` root. Usually located inside `../node_modules/react-native-codegen`
- `jsRootDir`: Reference to the directory that contains the JavaScript specs for this library. By default is `../js/`.
- `codegenDir`: Reference to the `react-native-codegen` root. Usually located inside `../node_modules/react-native-codegen`.

The generator will write its output inside the **build folder**, specifically inside the `./build/generated/source/codegen` folder.

Expand Down

0 comments on commit 816a9cd

Please sign in to comment.