Skip to content

Commit

Permalink
fix: Use tasks.register to avoid reconfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Jan 13, 2025
1 parent 5af866c commit 670922e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native-nitro-modules/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ if (isNewArchitectureEnabled()) {
}
}

task prepareHeaders(type: Copy) {
tasks.register('prepareHeaders', Copy) {
from fileTree('./src/main/cpp').filter { it.isFile() }
from fileTree('../cpp/').filter { it.isFile() }
include "*.hpp"
Expand Down

0 comments on commit 670922e

Please sign in to comment.