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
  • !512

Make DefaultJavaLibrary a little more language agnostic

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/grumpyjames/feature/jvmlang-agnostic-4 into master Nov 17, 2015
  • Overview 11
  • Commits 9
  • Pipelines 0
  • Changes 105

Created by: grumpyjames

Summary:

The main goal: to decouple JavacOptions from DefaultJavaLibrary. We end up passing an instance of JavacStepFactory (which will probably sprout an interface named 'CompileStepFactory' shortly). This means the DefaultJavaLibrary::getOptions is now only called from Project. Android extensions to DefaultJavaLibrary extend their javacOptions at step creation time by providing a custom JavacOptionsAmender.

Lots of other small changes along the way. We found one or two places where we had to encapsulate better in order to make progress - one or two tests disappear or move to different places as a result.

Test Plan: CI

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/grumpyjames/feature/jvmlang-agnostic-4