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
  • Issues
  • #2493
Closed
Open
Issue created Jul 08, 2020 by Administrator@rootContributor

Updating android.target doesn't invalidate target hash

Created by: raviagarwal7

Similar to the issue related to build tools version https://github.com/facebook/buck/issues/1953

Updating android.target doesn't invalidate target hash

╰─$ ./buckw targets <android-binary-target> --show-rulekey 
//apps/presidio/helix/app-apk:bin_exo 73dd03a0061c6bd0276016a3050db8eea44131b4 

╰─$ ./buckw targets <android-binary-target> --show-target-hash 
//apps/presidio/helix/app-apk:bin_exo 89377b6b9f943781b2ce7247dbac1bad 


╰─$ ./buckw targets <android-binary-target> --show-rulekey 
Invalidating internal cached state: Buck configuration options changed between invocations. This may cause slower builds. Changed value android.target='android-30' (was 'android-29') 
Parsing buck files: finished in 4.3 sec 
//apps/presidio/helix/app-apk:bin_exo a25fb63371d6a6c16f5851eeba0d710561b0cc91

╰─$ ./buckw targets <android-binary-target> --show-target-hash 
//apps/presidio/helix/app-apk:bin_exo 89377b6b9f943781b2ce7247dbac1bad
Assignee
Assign to
Time tracking