Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable module annotation processor with gradle #25922

Closed
Closed
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix template settings.gradle
  • Loading branch information
janicduplessis committed Feb 11, 2022
commit bf6b6b93a2cab6e159f23b919a9b8542a3e95cf5
8 changes: 4 additions & 4 deletions template/android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
rootProject.name = 'HelloWorld'

include(":react-native-annotations")
project(":react-native-annotations").projectDir = file(rootProject.projectDir, "../node_modules/react-native/packages/annotations-compiler/annotations")
include(":react-native-annotations-compiler")
project(":react-native-annotations-compiler").projectDir = file(rootProject.projectDir, "../node_modules/react-native/packages/annotations-compiler/compiler")
include ":react-native-annotations"
project(":react-native-annotations").projectDir = file("../node_modules/react-native/packages/annotations-compiler/annotations")
include ":react-native-annotations-compiler"
project(":react-native-annotations-compiler").projectDir = file("../node_modules/react-native/packages/annotations-compiler/compiler")

apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app'
Expand Down