message: Added build gradle changes ready for fabric
  Copied these changes from the React Native's example component repo
  Not copying the sourceset exactly because don't want to create separate old and new folders. So plan to include each file by name for the old and new arch
diff: @@ -9,8 +9,14 @@ buildscript {
  }
  }
  +def isNewArchitectureEnabled() {
  + return project.hasProperty("newArchEnabled") && project.newArchEnabled == "true"
  +}
  apply plugin: 'com.android.library'
  +if (isNewArchitectureEnabled()) {
  + apply plugin: 'com.facebook.react'
  +}
  def safeExtGet(prop, fallback) {
  rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
  @@ -23,10 +29,77 @@ android {
  defaultConfig {
  minSdkVersion safeExtGet("minSdkVersion", 16)
  targetSdkVersion safeExtGet("targetSdkVersion", 28)
  + buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
  versionCode 1
  versionName "1.0"
  }
  + sourceSets {
  + main {
  + if (isNewArchitectureEnabled()) {
  + java.includes = [
  + ]
  + } else {
  + java.includes = [
  + '**/ActionBarManager.java',
  + '**/ActionBarView.java',
  + '**/ActionView.java',
  + '**/BarButtonManager.java',
  + '**/BarButtonView.java',
  + '**/BottomAppBarManager.java',
  + '**/BottomAppBarView.java',
  + '**/BottomSheetManager.java',
  + '**/BottomSheetView.java',
  + '**/CollapsingBarManager.java',
  + '**/CollapsingBarView.java',
  + '**/CoordinatorLayoutManager.java',
  + '**/CoordinatorLayoutView.java',
  + '**/ExtendedFloatingActionButtonManager.java',
  + '**/ExtendedFloatingActionButtonView.java',
  + '**/FloatingActionButtonManager.java',
  + '**/FloatingActionButtonView.java',
  + '**/IconResolver.java',
  + '**/LinkActivity.java',
  + '**/NavigationBarManager.java',
  + '**/NavigationBarView.java',
  + '**/NavigationPackage.java',
  + '**/NavigationStackManager.java',
  + '**/NavigationStackView.java',
  + '**/SceneFragment.java',
  + '**/SceneManager.java',
  + '**/SceneView.java',
  + '**/SearchBarManager.java',
  + '**/SearchBarView.java',
  + '**/SharedElementManager.java',
  + '**/SharedElementMotion.java',
  + '**/SharedElementView.java',
  + '**/StatusBarManager.java',
  + '**/StatusBarView.java',
  + '**/TabBarItemManager.java',
  + '**/TabBarItemView.java',
  + '**/TabBarManager.java',
  + '**/TabBarPagerManager.java',
  + '**/TabBarPagerRTLAdapter.java',
  + '**/TabBarPagerRTLManager.java',
  + '**/TabBarPagerView.java',
  + '**/TabBarView.java',
  + '**/TabFragment.java',
  + '**/TabLayoutManager.java',
  + '**/TabLayoutRTLManager.java',
  + '**/TabLayoutRTLView.java',
  + '**/TabLayoutView.java',
  + '**/TabNavigationManager.java',
  + '**/TabNavigationView.java',
  + '**/TabView.java',
  + '**/TitleBarManager.java',
  + '**/TitleBarView.java',
  + '**/ToolbarManager.java',
  + '**/ToolbarView.java',
  + ]
  + }
  + }
  + }
  +
  lintOptions {
  abortOnError false
  }
  @@ -42,3 +115,10 @@ dependencies {
  implementation 'androidx.viewpager2:viewpager2:1.0.0'
  }
  +if (isNewArchitectureEnabled()) {
  + react {
  + jsRootDir = file("../src/")
  + libraryName = "navigation-react-native"
  + codegenJavaPackageName = "com.navigation.reactnative"
  + }
  +}
  \ No newline at end of file
  