Skip to content

Commit 57f6cbb

Browse files
lexsfacebook-github-bot-4
authored andcommitted
Add annotation processor for @ReactProp
Summary: The annotation processor finds subclasses of ViewManager and ShadowNode and generates classes that can both provide a mapping of property names to their type as well as a way of setting these properties. This avoids having to do reflection to find the properties. The annotation processor is currently not working when building with Gradle. public Reviewed By: astreet Differential Revision: D2748958 fb-gh-sync-id: ded5b072d236ebf19fb43eaf704fc7f221a82c26
1 parent c1b7a36 commit 57f6cbb

8 files changed

Lines changed: 880 additions & 37 deletions

File tree

ReactAndroid/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ android {
227227
jni.srcDirs = []
228228
jniLibs.srcDir "$buildDir/react-ndk/exported"
229229
res.srcDirs = ['src/main/res/devsupport', 'src/main/res/shell']
230+
java {
231+
exclude 'com/facebook/react/processing'
232+
}
230233
}
231234

232235
tasks.withType(JavaCompile) {

0 commit comments

Comments
 (0)