CMake: Add source java, template and config files as dependencies


Make sure to rebuild the generator plugin if any of the source
files, template files or config files change.

Change-Id: I490cd8b0a46d72c3230acb8d500821755698b5ab
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commitaa30729c3404079518089e32c5798c01687a44f3
parenta086dfdb0b8b42a17f33b82dd512f0f1977505f9
authorAlexandru Croitor <alexandru.croitor@qt.io>
committerAlexandru Croitor <alexandru.croitor@qt.io>
commit timeTue, 18 Nov 2025 14:15:00 +0100