Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B buck
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • buck
  • Merge requests
  • !1429

Support creation of extra dependency modules for IntelliJ

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/jbarr21/jb/create-res-modules-for-r-files into master Jul 20, 2017
  • Overview 20
  • Commits 4
  • Pipelines 0
  • Changes 20

Created by: jbarr21

Since the Layout Preview uses compiler output of modules, not the module dependencies, this diff adds the ability to generate extra modules. This is useful for generating an extra module for each Android Library module so that the generated R.java class files can be added to the compiler output path. Doing this allows IntelliJ's Android Layout Preview to resolve the R file classes and properly load views in the Preview tab.

This approach was necessary since Buck stores compiled module class files in a different directory than the compiled dummy R.java class files and IntelliJ only support one compiler output path per module. This functionality is put behind a .buckconfig flag.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/jbarr21/jb/create-res-modules-for-r-files