Add dependency checking Avoid unnecessary rebuilding of marketization files
There was an issue around the first time the project built, the JSON file was not getting included into the project because it hadn't been generated yet. Moving the creation of the JSON file into a centralized writer.build.targets fixed this.