nokeedev / gradle-native

The home of anything about Gradle support for natively compiled languages

Home Page:https://nokee.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Detect changes to PBXShellScriptBuildPhase during target build up-to-date checking

lacasseio opened this issue · comments

As a user building Xcode targets using Gradle, I want the Gradle tasks representing the Xcode targets using PBXShellScriptBuildPhase to be out-of-date when its build specification change during an incremental build so I can have accurate feedback.

Open Questions

Acceptance Criteria

  • Changes to the build phase name don't cause the task to be out-of-date. The name of a build phase is only an organizational tool and does not impact the build itself.
  • Any changes to inputPaths
    • Adding a new input path
    • Removing an existing input path
    • Changing the resolved path (any change resulting in the same resolved path should be ignored)
    • Changing the input file (or input directory)
  • Any changes to outputPaths
    • Adding a new output path
    • Removing an existing output path
    • Changing the resolved path (any change resulting in the same resolved path should be ignored)
    • Changing the output file (or output directory)
  • Any changes to shellPath (path only)
  • Any changes to shellScript (content only)
  • Changes to showEnvVarsInLog should not cause the task to be out-of-date.
  • Ignore alwaysOutOfDate (see #747)
  • Using inputFileListPaths causes the task to always be out-of-date
  • Using outputFileListPaths causes the task to always be out-of-date